Is getter(setter()) available? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Is getter(setter()) available?

we can use syntax setter(getter()), so can we use getter(setter())? Why?

8th Aug 2016, 2:36 AM
solsir
2 Réponses
0
that will just leave you with a brain fart lol. so if you have the first one, thats fine, but the second one is just going back and foward with the first one.
8th Aug 2016, 3:02 AM
Aquarius
Aquarius - avatar
0
Thanks,i have got the answer, it's incorrect because getter is a return method.
8th Aug 2016, 3:07 AM
solsir