हिंदी

What is a Parameterized Constructor? - Computer Applications

Advertisements
Advertisements

प्रश्न

What is a parameterized constructor?

टिप्पणी लिखिए

उत्तर

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2015-2016 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×