Interfaces And Abstract Classes - Study Mode

[#121] Runnable is a _____ .
Correct Answer

(C) interface

[#122] What is the return type of Math.random() method?
Correct Answer

(B) Double

[#123] Which of these is an correct way of defining generic class?
Correct Answer

(B) class name { /* ... */ }

[#124] Which of the following is the correct way of implementing an interface A by class B?
Correct Answer

(B) class B implements A{}

[#125] Where is String Pool stored?
Correct Answer

(B) Java Heap