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


Only A
B and C
Only B
A and B

View Answer

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

View Answer

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

View Answer

stack
Accumulator
heap
Register

View Answer

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

View Answer

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

View Answer

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

View Answer

suflix @
prefix #
suffix #
prefix @

View Answer

switch
class
double
then

View Answer

Functional programming
Backward reasoning
Logical programming
Structured programming

View Answer