Interfaces helps in which type of inheritance ?
A. Multiple inheritance
B. Multilevel inheritance
C. Hierarchical inheritance
D. None of above
A. Multiple inheritance
B. Multilevel inheritance
C. Hierarchical inheritance
D. None of above
A. int
B. byte
C. char
D. bollean
A. signed
B. unsigned
C. Both of the above
D. None of these
A. Sub class create object of super class
B. Sub class extends Base class
C. Sub class extends super class
D. All of the above
A. java.util.LinkedList
B. java.util.TreeMap
C. java.util.SortedSet
D. java.util.HashSet
A. 24
B. 48
C. 96
D. 192
A. From within protected methods you do not have access to public methods.
B. This method is only accessible from inside the class itself and from inside all subclasses.
C. In a class, you cannot declare methods with a lower visibility than the visibility of the class in which it is defined.
D. This method is accessible from within the class itself and from within all classes defined in the same package as the class itself.