1. Engineering
  2. Computer Science
  3. this question is related to java please dont answer using...

Question: this question is related to java please dont answer using...

Question details

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.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution