i don't understand it, can anyone help me ? why should i use it?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i don't understand it, can anyone help me ? why should i use it??

3rd Jul 2016, 10:04 AM
Mohammad Abu Sayed
Mohammad Abu Sayed - avatar
4 Answers
+ 4
constructors are used to initialize the variables. It is defined by its class name without any return type. There are three types of constructors . 1) default constructor. 2) parametrized constructors. 3) copy constructors.
3rd Jul 2016, 2:26 PM
Karan V B
Karan V B - avatar
0
Unfortunately autism isn't treated
5th Feb 2017, 5:44 AM
Riftomer Mc
Riftomer Mc - avatar
- 1
Bt wht about u talking
3rd Jul 2016, 10:28 AM
shubhu
- 1
Bt wht about u talking
3rd Jul 2016, 10:28 AM
shubhu