OOPs Concepts
Programming and Technical
undefined
A function that is called automatically when an object is created is called as
-constant
-constructor
-static
-friend
Read Solution (Total 8)
-
- constructor is called
- 11 years agoHelpfull: Yes(1) No(0)
- constructor is called
- 11 years agoHelpfull: Yes(0) No(0)
- constructor is a special member function . Constuctor is nothing but class name and method name is same as called a 'consturctor'. So the function is called automatically when object is created. So no need to call function using object.
- 11 years agoHelpfull: Yes(0) No(0)
- constructor is called when object is created
- 11 years agoHelpfull: Yes(0) No(0)
- constructors
- 10 years agoHelpfull: Yes(0) No(0)
- -constructor is automatically called when an object of a class is created.
- 10 years agoHelpfull: Yes(0) No(0)
- constructor is called when the object is created
- 10 years agoHelpfull: Yes(0) No(0)
- constructor
- 6 years agoHelpfull: Yes(0) No(0)
OOPs Concepts Other Question