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


Backward reasoning
Logical programming
Functional programming
Structured programming

View Answer

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

View Answer

None of these
Local inner class
Final Class
Anonymous class

View Answer

Rasmus Lerdof
Charles Babbage
Blaise Pascal
James Gosling

View Answer

interface
@Documented
@Retention
reference

View Answer

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

View Answer

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

View Answer

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

View Answer

native
final
local
static

View Answer

class
then
double
switch

View Answer

@Reference
@Target
@inherited
@Documented

View Answer

Duration
System
Clock
Instant

View Answer

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

View Answer

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

View Answer

Multiple
Twice
Zero
One

View Answer

A and B
B and C
Only B
Only A

View Answer

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

View Answer

heap
stack
Accumulator
Register

View Answer

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

View Answer

suflix @
suffix #
prefix #
prefix @

View Answer