HtmlCssMonk

JAVA QUIZ – INTERMEDIATE (20 Questions)

14
Created by HtmlCssMonk

Java Quiz – Intermediate 20

Are you Ready ?

Alrighty then.

Good Luck !

Let’s see what you got.

1 / 20

Which of these method of String class is used to obtain character at specified index?

2 / 20

Which of these selection statements test only for equality?

3 / 20

Which of these are selection statements in Java?

4 / 20

With x = 0, which of the following are legal lines of Java code for changing the value of x to 1?

1. x++;

2. x = x + 1;

3. x += 1;

4. x =+ 1;

5 / 20

What will be the output of the following Java code?

6 / 20

Which of these class contains only floating point functions?

7 / 20

Which of these packages contains all the classes and methods required for even handling in Java?

8 / 20

Which of these method of Thread class is used to Suspend a thread for a period of time?

9 / 20

What will be the output of the following Java code?

10 / 20

Which of these class is superclass of String and StringBuffer class?

11 / 20

Which of these operators can be used to concatenate two or more String objects?

12 / 20

Which of the following is not a valid jump statement?

13 / 20

What is the return type of Constructors?

14 / 20

If an expression contains double, int, float, long, then the whole expression will be promoted into which of these data types?

15 / 20

Which of these packages contains abstract keyword?

16 / 20

What will be the output of the following Java program?

17 / 20

Which exception is thrown when java is out of memory?

18 / 20

What will be the output of the following Java program?

19 / 20

Which of the following is not a valid flow control statement?

20 / 20

Which of these class is not a member class of java.io package?

Your score is

The average score is 60%

0%

Exit

About Java Intermediate Quiz

  • This Intermediate Java Quiz is designed specially for those scholars who already have some good knowledge of Java.
  • You are given 20 MCQ type Java questions in this Quiz.
  • There is no time Limit, so just keep calm and test your Intermediate Java knowledge without any rush !
  •  At the end of the Quiz, your total score will be displayed out of 100% maximum score.
  • You need to score atleast 70% (14 correct answers ) to PASS the Quiz.

Answers will not be shown after the quiz. If you really got what it takes , then learn until you can score 100% without seeing answers.


Do you have the courage to go on !!!!


Leave a Comment

Your email address will not be published. Required fields are marked *