J2SE Question:

Download Job Interview Questions and Answers PDF

What is constructor?

J2SE Interview Question
J2SE Interview Question

Answer:

A pseudo-method that creates an object. In the Java programming language, constructors are instance methods with the same name as their class. Constructors are invoked using the new keyword.

Download J2SE Interview Questions And Answers PDF

Previous QuestionNext Question
What is a class?What is compositing?