Interview Questions - Core Java

97.
What are the legal operands of the instanceof operator?
The left operand is an object reference or null value and the right operand is a class, interface, or array type.

98.
Are true and false keywords?
The values true and false are not keywords.

99.
What happens when you add a double value to a String?
The result is a String object.

100.
What is the diffrence between inner class and nested class?
When a class is defined within a scope od another class, then it becomes inner class. If the access modifier of the inner class is static, then it becomes nested class.