Safcode Institute 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


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

View Answer

@Reference
@inherited
@Documented
@Target

View Answer

Functional programming
Structured programming
Logical programming
Backward reasoning

View Answer

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

View Answer

then
double
switch
class

View Answer

final
local
native
static

View Answer

B and C
Only A
Only B
A and B

View Answer

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

View Answer

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

View Answer

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

View Answer