Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
+1 vote
in Programming Languages & Algorithms by (user.guest)

1 Answer

+1 vote
by (user.guest)
selected by (user.guest)
 
Best answer

We have two types of constructors these are:

1. Parametrized constructor

2. Default constructor

A parameterized constructor is used by the programmer to assign specific number of arguments to instances of different objects.

A default constructor is one created by the program when we do don't have a constructor. This usually has no argument in it.


Related questions

+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.
...