Search your topic in Java2share
Home > FAQs
eXTReMe Tracker


CoreJava FAQs


Untitled Document

Q105. 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.

Q106. 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.

Q107. What is the difference between a Window and a Frame?
The Frame class extends Window to define a main application window that can have a menu bar.

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