Interfaces And Abstract Classes - Study Mode
[#86] Which of these class have only one field 'TYPE'?
Correct Answer
(A) Void
[#87] What happens when we access the same variable defined in two interfaces implemented by the same class?
Correct Answer
(D) The interfaceName.variableName needs to be defined
[#88] Which of these exceptions will be thrown if we declare an array with negative size?
Correct Answer
(D) NegativeArraySizeExeption
[#89] What is the Java 8 update of PermGen?
Correct Answer
(C) Metaspace
[#90] Which of these methods initiates garbage collection?
Correct Answer
(A) gc()