Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
253 B
2
Indexable
Never
public class Laptop extends Computer
{ 
    private double batteryLife;
    public double getBatteryLife()

    {
        return batteryLife;
    }

    public void setBatteryLife(double batteryLife)
    {
        this.batteryLife = batteryLife;
    }
}
Leave a Comment