wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

JAVA FOR ANDROID-JAVA

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following statements are true for inheritance in java?

a)

"extend" keyword is used to extend a class in java.

b)

You can extend multiple classes in java.

c)

Private members of superclass are accessible to subclass.

d)

We can’t extend Final classes in java.

2.

Java Programming was designed by ______

a)

Sun MicroSystems

b)

Mozilla Corporation

c)

Microsoft

d)

Amazon Inc.

3.

In the beginning , Java was created in order to –

a)

Create Strong Programming alternative to C++

b)

Connect many household machines

c)

Perform Operations on the Internet

d)

Create high performance OS

4.

Earlier name of Java Programming language was –

a)

Eclipse

b)

D

c)

Oak

d)

Netbean

5.

Which of the following personality is called as father of Java Programming language –

a)

Guido vom Russom

b)

Larry Page

c)

Bjarne Stroustrup

d)

James Gosling

6.

Which of the following is not OOPS concept in Java?

a)

Inheritance

b)

Encapsulation

c)

Polymorphism

d)

Compilation

7.

Which concept of Java is a way of converting real world objects in terms of class?

a)

Polymorphism

b)

Encapsulation

c)

Abstraction

d)

Inheritance

8.

Which concept of Java is achieved by combining methods and attribute into a class?

a)

Encapsulation

b)

Inheritance

c)

Polymorphism

d)

Abstraction

9.

Java was developed in which year

a)

1992

b)

1993

c)

1994

d)

1995

10.

Which component is used to compile, debug and execute java program?

a)

JDK

b)

JRE

c)

JVM

d)

JIT