Interfaces And Abstract Classes - Study Mode
[#156] Which of these is specified by a File object?
Correct Answer
(C) directory in disk
[#157] What happens when a constructor is defined for an interface?
Correct Answer
(A) Compilation failure
[#158] Which of these data type is returned by every method of OutputStream?
Correct Answer
(D) none of the mentioned
[#159] Which of these class can encapsulate an entire executing program?
Correct Answer
(B) Process
[#160] Which class is used to generate random number?
Correct Answer
(C) java.util.Random