English

What is a Parameterized Constructor? - Computer Applications

Advertisements
Advertisements

Question

What is a parameterized constructor?

Short Note

Solution

Parameterized Constructor: 

It is a constructor that accepts parameters. When an object is declared using a parameterized constructor, the initial values have to be passed as arguments to the constructor.

shaalaa.com
  Is there an error in this question or solution?
2015-2016 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×