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


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

View Answer

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

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

double
then
switch
class

View Answer

prefix @
prefix #
suflix @
suffix #

View Answer

Backward reasoning
Logical programming
Structured programming
Functional programming

View Answer

@Reference
@inherited
@Documented
@Target

View Answer

interface
reference
@Documented
@Retention

View Answer

A and B
Only A
B and C
Only B

View Answer

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

View Answer