Interview Questions - Core Java

65.
What is the % operator?
It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand.

66.
When can an object reference be cast to an interface reference?
An object reference be cast to an interface reference when the object implements the referenced interface.

67.
Which class is extended by all other classes?
The Object class is extended by all other classes.

68.
Which non-Unicode letter characters may be used as the first character of an identifier?
The non-Unicode letter characters $ and _ may appear as the first character of an identifier