Home > Java Programming > Language Fundamentals > Questions and Answers
Q: |
Which of the following are valid declarations? Note : None of the literals used here contain the character O they are all zeroes. 1. int i = 0XCAFE; 2. boolean b = 0; 3. char c = 'A'; 4. byte b = 128; 5. char c = "A"; | ||||||||||||||
|
Comment on this Question | |
Name: | |
|