programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
ProgrammingFAQs

What is the use of Constructor in OOPs?

Average: 5 (1 vote)

A constructor is similar to

A constructor is similar to an instance method, constructors are called automatically when we instantiate the object, it contains the same name as class name, we can't inherit the constructor