JAVA INTERVIEW QUESTIONS

WHAT IS A THREAD?

Threads allows a program to operate more efficiently by doing multiple things at the same time.

5

WHAT IS INHERITANCE?

The process by which one class acquires the properties and functionalities of another class is called inheritance.

4

WHAT IS A COLLECTION?

Collections are like containers that group multiple objects in a single unit and help to manipulate them together.

3

2

WHAT IS ABSTRACTION?

It helps in hiding an object's properties and methods from other programs through the use of access modifiers.

WHAT IS AN EXCEPTION?

An exception is an event, which occurs during program execution , that disrupts the normal flow of the program’s instructions.

1