DEVFYI - Developer Resource - FYI

What is constructor

J2SE Interview Questions and Answers


(Continued from previous question...)

41. What is constructor

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.

(Continued on next question...)

Other Interview Questions