Would you like to know everything in java developers? Take this quiz and test yourself now. All the best!
.java
.class
.src
.javadoc
SKIP THE QUESTION
Rate this question:
Block, line and javadoc
Javadoc, literal and string
Javadoc, char and string
Single, multiple and quote
SKIP THE QUESTION
Rate this question:
Curly braces
Parenthesis
Square brackets
Single quote
SKIP THE QUESTION
Rate this question:
All four
2,3 and 4
2 and 4
2 and 3
SKIP THE QUESTION
Rate this question:
(1) Code will not compile and will give "Duplicate main() method declaration" error
(2) Code will compile correctly but will give a runtime exception
(3) Code will compile correctly and will print "In first main()" (without quotes) when run with argument of 'a'.
(4) Code will compile correctly and will print "a" (without quotes) when run with argument of 'a'.
SKIP THE QUESTION
Rate this question:
All 4
1 and 2
1,2 and 3
SKIP THE QUESTION
Rate this question:
Inner class
Nested class
Derived class
Hidden class
SKIP THE QUESTION
Rate this question:
All 4
1 and 2
1,2 and 4
SKIP THE QUESTION
Rate this question:
All 4
1 and 2
1,2 and 4
SKIP THE QUESTION
Rate this question:
Will give compilation error
Will compile and print 100
Will throw an exception
SKIP THE QUESTION
Rate this question:
Will give compilation error
Will compile and print 100
Will throw an exception
SKIP THE QUESTION
Rate this question:
Will print null
Will give NullPointerException
Will not compile
Will print NULL
SKIP THE QUESTION
Rate this question:
Quiz Review Timeline (Updated): Aug 23, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.