Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
public interface Sellable{
public double getPrice();
}
public class Car implements Sellable{
public Car(double price){
this.price=price;
}
public double getPrice(){ return price; }
}
public interface Sellable{
public double getPrice();
}
public class Car implements Sellable{
[COLOR=red]private double price = -1;[/color]
public Car(double price){
this.price=price;
}
public double getPrice(){
return price;
}
}
[COLOR=red]package org.tekTips.interfaces;[/color]
public interface Sellable{
public double getPrice();
}
[COLOR=red]package org.tekTips.interfaces;
import org.tekTips.interfaces.Sellable;
[/color]
public class Car implements Sellable{
[COLOR=red]private double price = -1;[/color]
public Car(double price){
this.price=price;
}
public double getPrice(){
return price;
}
}