Q. How many primitive data types are there in Java?

  • (A) 6
  • (B) 7
  • (C) 8
  • (D) 9
πŸ’¬ Discuss
βœ… Correct Answer: (C) 8
Explanation: There are 08 primitive data types

Byte
Short
Int
Long
Float
Double
Char
Boolean.

Note :- string is non-primitive data type.
Explanation by: Lalit Singh
There are 08 primitive data types

Byte
Short
Int
Long
Float
Double
Char
Boolean.

Note :- string is non-primitive data type.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
386
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Manisha Agrawal
Publisher
πŸ“ˆ
83%
Success Rate