MobileDevice.java


package Lab3;
import java.lang.String;

public class MobileDevice
{
private String deviceType = new String();

public MobileDevice()
{
setDeviceType("Mobile Device");
}

public String getDeviceType()
{
return deviceType;
}

public void setDeviceType(String str)
{
deviceType = str;
}
}

Leave a Reply

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