MCQ Practice Single Best Answer Topic: Java Language Fundamental

Q Number of primitive data types in Java are?

Question ID
#4350
Subchapter
Java Language Fundamental
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A 2
  • B 4
  • C 10
  • D 8
Correct Answer: D

Explanation

There are 8 types of primitive data types- int, char, boolean, byte, long, float, short, double.

Share This Question

Share this MCQ with your friends or study group.