Interview Questions - Advanced Java
57.
What is the argument type of a program's main() method?
A program's main() method takes an argument of the String[] type.
58.
Which Java operator is right associative?
The = operator is right associative.
59.
Can a double value be cast to a byte?
Yes, a double value can be cast to a byte.
60.
What must a class do to implement an interface?
It must provide all of the methods in the interface and identify the interface in its implements clause.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers