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


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

View Answer

prefix #
suflix @
prefix @
suffix #

View Answer

native
final
local
static

View Answer

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

View Answer

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

View Answer

B and C
Only A
A and B
Only B

View Answer

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

View Answer

@Retention
@Documented
reference
interface

View Answer

@Reference
@Documented
@Target
@inherited

View Answer

Instant
Clock
System
Duration

View Answer