What is the prototype of the default constructor of this Java class?
public class prototype { }
public class prototype { }
A. prototype( )
B. prototype(void)
C. public prototype(void)
D. public prototype( )
Answer: Option D
public class prototype { }
A. prototype( )
B. prototype(void)
C. public prototype(void)
D. public prototype( )
Answer: Option D
Which of the following is not a valid identifier for a Java variable?
A. my_var
B. _myVar
C. 3rdVar
D. $var
Join The Discussion