Parameterized constructor is used to provide different values to the distinct objects - Core Java

Q.  What type of constructor is used to provide different values to the distinct objects?
- Published on 16 Jul 15

a. Default constructor
b. Parameterized constructor
c. Overloading constructor
d. None of the above

ANSWER: Parameterized constructor

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)