Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Java

Total questions: 12

Worksheet time: 9mins

Name
Class
Date
1.

_________ operator returns the remainder after division

a)

+

b)

/

c)

%

d)

*

2.

________ operator is used to check the equality of two values

a)

>=

b)

=

c)

*=

d)

==

3.

Bit wise operations only carried out only in integer /long integer values.

a)

True

b)

False

4.

Operator used to access the members of a class /package

a)

(.) Dot

b)

(,) Comma

5.

Java has goto statement

a)

True

b)

False

6.

Java doesn't support structures and unions

a)

True

b)

False

7.

Java is

a)

platform dependent

b)

platform indeprndent

8.

In Java WORA stands for

a)

Write Once Recall Anywhere

b)

Write Once Return Anywhere

c)

Write Once Read Anywhere

d)

Write Once Run Anywhere

9.

JVM stands for

a)

Java Vital Machine

b)

Java Virtual Machine

c)

Java Vendor machine

10.

Java programs ________________

a)

are only compiled

b)

are only compiled not interpreted

c)

are only interpreted

d)

are both compiled and interpreted

11.

In Java, execution starts from ___________ function.

a)

get()

b)

main()

c)

java()

d)

display()

12.

Main() method is not mandatory for a Java program

a)

True

b)

False