-
-
-
What does the "final" keyword mean in front of a variable? A method? A class?
FINAL for a variable : value is constantFINAL for a method : cannot be overriddenFINAL for a class : cannot be derived
-
Can an object be garbage collected while it is still reachable
A reachable object cannot be garbage collected. Only unreachable objects may begarbage collected..
-
Is &&= a valid Java operator
No, it is not.
-
Java Interview Questions
Ans