Java Programming Language Quiz Online Mcq’s Questions Test

Test Instructions

Test Name

:

Java Programming Test

Subject

:

Computer General

Test Type

:

Mcqs

Total Question

:

10

Total Marks

:

20

Total Time

:

15 Minutes

Java is a very commonly used programming language which was originally developed by James Gosling. If you are a user of this language and want to put your knowledge to test, then simply attempt the following quiz about this topic.

Java Programming Language Quiz Online Mcq’s Questions Test

1

2

3

4

5

6

7

8

9

10

Loading...

Computer General

1. Which of the following is not a Java keyword?

Of

For

Default

Volatile

Question 1 of 10

Loading...

2. Which symbol is used to denote a multi-line comment?

{ }

/* */

< >

/ /

Question 2 of 10

Loading...

3. It is the command used to compile Java program in the command prompt.

JP

Java

Javac

Javap

Question 3 of 10

Loading...

4. The code inside a pair of curly braces:

Function

Block

Brick

Method

Question 4 of 10

Loading...

5. Which one of these terminates every line of code in Java.

:

}

;

,

Question 5 of 10

Loading...

6. Which of the following is an invalid first character of an identifier?

8

$

__

A

Question 6 of 10

Loading...

7. It is the process of removing errors found in the program.

Debugging

Re-checking

Reviewing

Editing

Question 7 of 10

Loading...

8. Which of the following is not a primitive data type?

Char

Long

Byte

String

Question 8 of 10

Loading...

9. It is the rules of a programming language.

Syntax

Structure

Format

Logic

Question 9 of 10

Loading...

10. Which of the following is the data type used for a single character?

Byte

KB

Bit

Char

Question 10 of 10

Loading...

You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.