MCQ Single Best Answer Not Set

QNumber of primitive data types in Java are?

ID: #4350 Java Language Fundamental 290 views
Question Info
#4350Q ID
Not SetDifficulty
Java Language FundamentalTopic

Choose the Best Option

Click any option to instantly check if you're correct.

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

Explanation

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

Share This Question

Challenge a friend or share with your study group.