How to use object constructor and what kind of different ways? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use object constructor and what kind of different ways?

29th Dec 2016, 6:57 AM
Vipul Aggarwal
Vipul Aggarwal - avatar
1 Answer
+ 1
many ways... what u want. public class A{ public A(){} public A(int a){} public A(int a, string b){} }
9th Jan 2017, 5:14 AM
Uguumur Oldokh
Uguumur Oldokh - avatar