wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to Java

Total questions: 15

Worksheet time: 11mins

Name
Class
Date
1.

An act of using essential features without including background details is called_____

a)

Encapsulation.

b)

Data Abstraction

c)

Inheritance.

d)

Polymorphism.

2.

In an Object Oriented Programming, the stress is given on______

a)

Data

b)

Function

c)

Object

d)

Value

3.

Wrapping of data and function together is called

a)

Data Abstraction.

b)

Polymorphism.

c)

Encapsulation.

d)

Inheritance.

4.

Procedure Oriented Language follows top down approach

a)

True

b)

False

5.

______allows us to encompass the parent class’ state and behaviours into its child.

a)

Abstraction

b)

Encapsulation

c)

Dynamic Binding

d)

Inheritance

6.

Data and functions are encapsulated into a single unit in___________Language

a)

Object Oriented Programming

b)

Procedure Oriented

c)

Unstructured

7.

A ________ is a template that binds together data and methods together.

a)

data

b)

object

c)

class

d)

function

8.

A class is an instance of an object.

a)

True

b)

False

9.

A ______ is called a object factory.

a)

function

b)

class

c)

data

d)

object

10.

The objects may communicate with each other through _______.

a)

function.

b)

data

c)

object

d)

class

11.

The keyword which indicates that the method returns no value is_______

a)

public

b)

static

c)

void

d)

abstract

12.

The program code written in any high level language to solve a problem is______

a)

Object code

b)

source code

c)

machine code

d)

byte code

13.

The blueprint that defines the variables and methods common to all of a certain kind is known as________

a)

object

b)

class

c)

package

d)

method

14.

The keyword to create an object of a class is

a)

New

b)

create

c)

Create_object

d)

new

15.

The operator which acts on one operand is known as ________

a)

binary

b)

ternary

c)

unary

d)

relational