Android.java

package Lab3;

public class Android extends SmartPhone
{
private String deviceType = new String();

public Android()
{
deviceType = "Android";
}

public String getDeviceType()
{
deviceType = super.getDeviceType() +" -> "+ deviceType;
return deviceType;
}
}

Leave a Reply

Your email address will not be published. Required fields are marked *