Java Classes Question:

Download Job Interview Questions and Answers PDF

What is the difference between instantiation & initialization?

Java Classes Interview Question
Java Classes Interview Question

Answer:

Instance ation will not allocate memory, just a instance will be created.

Initialization will actually allocate memory.

Download Java Classes Interview Questions And Answers PDF

Previous QuestionNext Question
In System.out.println() explain it.My doubt, we call static method with Class name but here what is "out"?If the method does not return a value, its return type must be void

A) True
B) False