Safcode Institute by Sir Safder


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


Charles Babbage
Rasmus Lerdof
Blaise Pascal
James Gosling

View Answer

local
static
native
final

View Answer

Single line comment
Multiline comment
Both A & B
None of the above

View Answer

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

View Answer

@inherited
@Target
@Reference
@Documented

View Answer

Java Virtual Machine
None of them
ava Very Large Machine
Java Verified Machine

View Answer

Zero
Twice
One
Multiple

View Answer

interface
@Retention
reference
@Documented

View Answer

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

View Answer

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

View Answer