What is an Object?

It is the core unit of Object-Oriented Programming and represents real entities. As we know, a Java program creates objects that interact by invoking various methods.

An object consists of state, behavior, and identity.

Suggest An Answer

No suggestions avaliable!

Latest post from Java interview questions

Ask Question