Test Your Programming Skills with Safcode!


Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"



Quiz Start


Cannot access private members of the enclosing class
Can implement anonymous interfaces
Associated with an instance of the enclosing class
None of these

View Answer

try and finally
try-catch
throw and throws
none of these

View Answer

@Documented
interface
@Retention
reference

View Answer

instant()
getValue()
of()
normalized()

View Answer

Anonymous class
Final Class
Local inner class
None of these

View Answer

B and C
Only A
A and B
Only B

View Answer

of()
normalized()
getVal()
now()

View Answer

Zero
One
Multiple
Twice

View Answer

then
switch
class
double

View Answer

Blaise Pascal
Charles Babbage
Rasmus Lerdof
James Gosling

View Answer