What will be the output of following code? why?
(1) 13 or len (13) (ii) len (13) or 13
Answers
Answered by
3
In Java, a class definition starts with the word "class" (possibly preceded by the word "public" or "private"), continues with the
name of the class and the character "{" (a left brace or curly bracket), and ends with the character "}" (a right brace). Inside the braces are definitions of methods and variables.
Similar questions