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


@Documented
interface
reference
@Retention

View Answer

One
Zero
Twice
Multiple

View Answer

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

View Answer

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

View Answer

getValue()
instant()
normalized()
of()

View Answer

@Reference
@Target
@Documented
@inherited

View Answer

Charles Babbage
Rasmus Lerdof
James Gosling
Blaise Pascal

View Answer

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

View Answer

prefix #
suflix @
prefix @
suffix #

View Answer

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

View Answer