Can get help with this question using blue j : Write a simple Java class Mobile that models a mobile phone.? DetailsThe information stored about each mobile phone will include its type e.g. " Sony Xperia XZ" or "Samsung Galaxy S7"; call this variable type its screen size in inches; call this variable screenSizeo you may assume that this is a whole number from the scale 3 to 5 inclusive. its memory card capacity in gigabytes; call this variable cardCapacityo you may assume that this is a whole number. the name of its present service provider; call this variable providero you may assume that this is a single line of text. the type of contract with the service provider; call this variable contractTypeo you may assume that this is a single line of text . its camera resolution in megapixels; call this variable cameraReso you should not assume that this is a whole number; the percentage charge left on the phone e.g. a fully-charged phone will have a charge of 100;call this variable percentChargeo you may assume that this is a whole number. whether the phone has GPS or not; call this variable hasGPS
Can get help with this question using blue j :
Write a simple Java class Mobile that models a mobile phone.?
DetailsThe information stored about each mobile phone will include its type e.g. " Sony Xperia XZ" or "Samsung Galaxy S7"; call this variable type
its screen size in inches; call this variable screenSizeo you may assume that this is a whole number from the scale 3 to 5 inclusive.
its memory card capacity in gigabytes; call this variable cardCapacityo you may assume that this is a whole number.
the name of its present service provider; call this variable providero you may assume that this is a single line of text.
the type of contract with the service provider; call this variable contractTypeo you may assume that this is a single line of text
. its camera resolution in megapixels; call this variable cameraReso you should not assume that this is a whole number;
the percentage charge left on the phone e.g. a fully-charged phone will have a charge of 100;call this variable percentChargeo you may assume that this is a whole number.
whether the phone has GPS or not; call this variable hasGPS

We need to write a Java code for the given scenario.
Step by step
Solved in 2 steps with 2 images









