Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Java Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Java was originally named:

a)

Coffee

b)

Oak

c)

New C++

d)

Duke

2.

From where did Java get its name?

a)

Coffee

b)

Book

c)

TV Programme

d)

Initials of the developers of Java

3.

Is Android based on Java?

a)

True

b)

False

4.

When was Java released?

a)

1975

b)

1985

c)

1995

d)

2005

e)

2015

5.

Which company owns Java?

a)

Oracle

b)

Microsoft

c)

Google

d)

Apple

e)

Intel

6.

which of the following is wrapper class in java

a)

Float

b)

Integer

c)

Double

d)

all of above

7.

Which one of the following statement is not true about the collection interface?

a)

all methods defined in set interface are also defined in collection interface

b)

list interface extends collection interface

c)

set interface extends collection interface

d)

all methods defined in list interface are also defined in collection interface

8.

which one of the following is a legal decelration of a two- dimensional array of integers

a)

int[] a[] = new int[5][];

b)

int[5][5] a = new int[][];

c)

int a = new int[5,5];

d)

int[][] a = new int[][5];

9.

superclass of all classes representing the output stream of characters is -------------

a)

OutputStream

b)

Reader

c)

InputStream

d)

Writer

10.

which of this class is used by character streams for reading data from buffer

a)

BufferReader

b)

InputStreamReader

c)

FileReader

d)

FileInputStream