0

constructor returns anything?

14th Aug 2016, 4:48 PM
srilekha
4 Réponses
+ 1
By syntax, it doesn't return anything. However after the constructor is called, you will get a new object.
14th Aug 2016, 5:52 PM
WPimpong
WPimpong - avatar
+ 1
it won't return any value, but it will create an instance of a class
17th Aug 2016, 7:14 AM
Fernando Fama
Fernando Fama - avatar
0
yup..it returnce an instance of a class
14th Aug 2016, 5:45 PM
Tiger
Tiger - avatar
0
thanks
14th Aug 2016, 5:48 PM
srilekha