English

State True or False. ‘int’ is a type of primitive data.

Advertisements
Advertisements

Question

State True or False.

‘int’ is a type of primitive data.

True or False
Advertisements

Solution

This statement is true.

Explanation:

The int data type is a predefined, core keyword built directly into Java. It is used to store 32-bit whole numbers (integers) without any fractions or decimals, making it one of the eight standard primitive data types.

shaalaa.com
  Is there an error in this question or solution?
Chapter 2: Class as the Basis of all Computation - Exercises [Page 65]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 2 Class as the Basis of all Computation
Exercises | Q 2. (iv) | Page 65
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×