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


Anonymous class
None of these
Local inner class
Final Class

View Answer

A constructer can be overloaded
A constructor returns void
A constructor has an associated destructor
All of them

View Answer

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

View Answer

Logical programming
Functional programming
Structured programming
Backward reasoning

View Answer

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

View Answer

Accumulator
stack
Register
heap

View Answer

@Documented
@inherited
@Target
@Reference

View Answer

Duration
Instant
System
Clock

View Answer

A constructor must have the same name as the class it is declared within.
A constructor may be declared private
A constructor is used to create objects.
All of the above

View Answer

Charles Babbage
James Gosling
Rasmus Lerdof
Blaise Pascal

View Answer