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


suflix @
suffix #
prefix @
prefix #

View Answer

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

View Answer

Functional programming
Backward reasoning
Structured programming
Logical programming

View Answer

class
double
then
switch

View Answer

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

View Answer

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

View Answer

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

View Answer

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

View Answer

@Reference
@Target
@Documented
@inherited

View Answer

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

View Answer