An instance of a class is called object. The object has state and behaviour.
Whenever the JVM reads the “new()” keyword then it will create an instance of that class.
We covered nearly 50 + primary Java interview questions in this tutorial for fresh and experienced candidates. Q.1- What is… Read More