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


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

View Answer

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

View Answer

@Documented
@Retention
interface
reference

View Answer

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

View Answer

switch
then
class
double

View Answer

Accumulator
stack
heap
Register

View Answer

Zero
Multiple
One
Twice

View Answer

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

View Answer

static
final
local
native

View Answer

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

View Answer