Question: This question is related to java please don't answer using handwriting thank you 1. Create a class Mobile with the following specifications: brand, color screen
This question is related to java
please don't answer using handwriting
thank you

1. Create a class "Mobile" with the following specifications: brand, color screen size and camera size as field. 2. Declare the instance variables with suitable data types. 3. Define a constructor that allow the initialization of all the data of a mobile by specific values. 4. Define all the needed getter methods: getBrand0, getColor0. getScreen(0 and getCamera). 5. Write a tester class. In the main, create two phones then, display the details of each one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
