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


Rasmus Lerdof
Blaise Pascal
James Gosling
Charles Babbage

View Answer

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

View Answer

Zero
Twice
One
Multiple

View Answer

Logical programming
Functional programming
Structured programming
Backward reasoning

View Answer

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

View Answer

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

View Answer

reference
@Retention
interface
@Documented

View Answer

Instant
Duration
System
Clock

View Answer

native
local
static
final

View Answer

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

View Answer