Question: Which of the following are not legal literals in Java? Select the four correct answers. (a) 0Xbad (b) 0B_101_101 (c) 09 (d) +_825 (e) 1_2e4f

Which of the following are not legal literals in Java?

Select the four correct answers.

(a) 0Xbad

(b) 0B_101_101

(c) 09

(d) +_825

(e) 1_2e4f

(f) '\x'

(g) "what\'s your fancy?"

Step by Step Solution

3.39 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

b c d and f In b the underscore is ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming 8th Questions!