Tutorial Study Image

Java Online Quiz

Following quiz provides Multiple Choice Questions (MCQs) related to Java . You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.


Q 1 - Which among the following is true?

Show Answer
 Answer is : Option A

Q 2 - Which among the following method is used to cleanup an object it is destroyed?

Show Answer
 Answer is : Option A

Q 3 - Modulo operator (%) can be applied over ___________ data type?

Show Answer
 Answer is : Option C

Q 4 - charAt(), function is used to ?

Show Answer
 Answer is : Option D

Q 5 - Which of the following is not a peculiarity of java?

Show Answer
 Answer is : Option C

Q 6 - Program execution begins from ________________ in java runtime system?

Show Answer
 Answer is : Option B

Q 7 - A function that returns no value returns _______ ?

Show Answer
 Answer is : Option B

Q 8 - Which among the following is not a primitive data type in java?

Show Answer
 Answer is : Option A

Q 9 - Which of the following keyword is used to "jump out" of a switch statement?

Show Answer
 Answer is : Option D

Q 10 - x = x+1 can also be achieved using ?

Show Answer
 Answer is : Option B