Safcode | Code Your Ideas by Sir Safder


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
@Reference
@Target
@inherited

View Answer

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

View Answer

interface
@Retention
@Documented
reference

View Answer

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

View Answer

Charles Babbage
Blaise Pascal
Rasmus Lerdof
James Gosling

View Answer

stack
Accumulator
Register
heap

View Answer

A and B
Only B
Only A
B and C

View Answer

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

View Answer

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

View Answer

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

View Answer

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

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

class
switch
then
double

View Answer

static
final
native
local

View Answer

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

View Answer

Twice
One
Zero
Multiple

View Answer

System
Duration
Instant
Clock

View Answer

Anonymous class
None of these
Final Class
Local inner class

View Answer

Logical programming
Backward reasoning
Functional programming
Structured programming

View Answer

prefix @
suffix #
prefix #
suflix @

View Answer