HtmlCssMonk

JAVA QUIZ – INTERMEDIATE (10 Questions)

24
Created by HtmlCssMonk

Java Quiz – Intermediate

Are you Ready ?

Alrighty then.

Good Luck !

Let’s see what you got.

1 / 10

What is the range of short data type in Java?

2 / 10

What will be the output of the following Java program ?

class comma_operator  {

public static void main(String args[])  {

int sum = 0;

for (int i = 0, j = 0; i < 5 & j < 5; ++i, j = i + 1)

sum += i;

System.out.println(sum);

  }

}

3 / 10

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

4 / 10

Which of these can be overloaded?

5 / 10

Which of these selection statements test only for equality?

6 / 10

Which of these are selection statements in Java?

7 / 10

Which function is used to perform some action when the object is to be destroyed?

8 / 10

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;

9 / 10

Which of these is necessary to specify at time of array initialization?

10 / 10

Which of these operators is used to allocate memory to array variable in Java?

Your score is

The average score is 51%

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 10 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% (7 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 *