ANSWER

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

I.

ENUMERATION

1-3.Give the 3 final keyword in Java

 variable
 method
 class

4-7. What are the four types of association between the objects

 One to One
 One to Many
 Many to One, and
 Many to Many

8-10.Give atleast 3 concepts in Object-Oriented Programming

Object

Class

Inheritance

Polymorphism

Abstraction

Encapsulation

II.Multiple Choice

1. Defined as an instance of a class.


A.Object
B.Inheritance
C.Class

2. Refers to the knowledge or information or dependency of another class.

A. Encapsulation

B. Coupling

C. Polymorphism

3. Is a mechanism in which one object acquires all the properties and behaviors of a parent object.

A. Composition

B. Inheritance in Java
C. Reusability

4.What do you call when a class inherits another class?

A. single inheritance

B. Multilevel Inheritance

C. Hierarchical Inheritance

5. What do you call when there is a chain of inheritance?

A. single inheritance

B. Multilevel Inheritance

C. Hierarchical Inheritance

III.TRUE OR FALSE

1. TRUE
2. FALSE
3. TRUE
4. TRUE
5. FALSE
6. TRUE
7. TRUE
8. TRUE
9. TRUE
10. TRUE

You might also like