J2SE Question:

What is constructor?

Tweet Share WhatsApp

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 PDF Read All 214 J2SE Questions
Previous QuestionNext Question
What is a class?What is compositing?