WHAT IS A CONSTRUCTOR?

Kamlakar Singh

Total Post:80

Points:400
Posted by  Kamlakar Singh
C#  Java 
 867  View(s)
Ratings:
Rate this:
  1. Kamlakar Singh

    Post:80

    Points:400
    What is a constructor?

    A constructor is the method of a class that is called when an object of that class is created. The constructor initializes class parameters and has the same name as the class.

    constructor returns the reference id of class.

      Modified On Mar-27-2018 05:30:38 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!