Multiple Choice
Which is a legal number literal of type int in Java?
A) 100,000
B) 100.000
C) 100_000
D) 100000L
Correct Answer:
Verified
Related Questions
Q34: Why is the double type not appropriate
Q35: What is wrong with the following code
Q36: What is the upper limit on the
Q37: Which one of the following is a
Q38: Which one of the following is an
Q40: Which one of the following reserved words
Q41: What is the output of the following
Q42: Which is a correct representation of the
Q43: What is the value of Math.abs(-2)?
A)-2
B)0
C)2
D)4
Q44: What is the output of the following
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents