Variables, methods and constructors which are declared private can be accessed only by the members of the super class.
Variables, methods and constructors which are declared protected can be accessed by any subclass of the super class.
Variables, methods and constructors which are declared public in the superclass can be accessed by any class.
All of the above
What is true about a final class?
class declared final is a final class.
Final classes are created so the methods implemented by that class cannot be overridden.
It can't be inherited.
All of the above
What guarantees type-safety in a collection?
Generics
Abstract classes
Interfaces
Collection Framework
Which doesn’t permit to store a null value?
Treeset
LinkedHashset
Hashset
None
Following code will result in: float num = 5/0;
Runtime exception
Compilation error: Divisions must be in a try block
No error
Compilation error: DivideByZeroException
{"name":"What is the size of int variable?", "url":"https://www.quiz-maker.com/QXCRQ28DD","txt":"What is the size of int variable?, Which of the following is true about super class?, What is true about a final class?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}