ICSE Class 10 Computer Applications Question 4 of 76

Revising Basic Java Concepts — Question 4

Back to all questions
4
Question

Question 4

What kind of program elements are the following ?

13, 'a', 4.38925, "a", main( )

Answer
13Integer Literal
'a'Character Literal
4.38925Floating point Literal
"a"String Literal
main( )Method