If we have to store the following information about a mobile, how many values of from each data type group do we need.
Correct Answer : D
Model name is a set of characters like "Nokia Lumia", "Samsung Galaxy". So it belongs to character datatype.
Manufacturer name is a set of characters like "Apple". So it belongs to character datatype.
Mobile Number is a set of digits like 1234567890. So its an integer datatype.
Number Of Sims can be 1 or 2 or any other number. So its an integer datatype.
Current Balance can be 1234.56. So its a floating datatype.
Has Camera can have an answer yes or no that is true or false. So its boolean datatype.
Topic: Primitive Data Types In Java