0

Hello,i want to know if i can use String infront of get .

for example: void setNom(String a){ this.nom = n; } String getNom(string nom){ return nom; }

30th Jan 2017, 3:04 AM
yakuza
yakuza - avatar
2 Respuestas
+ 2
Yes, as long as you also return a String it'll work.
30th Jan 2017, 3:14 AM
Robobrine
Robobrine - avatar
0
ohhh thanks @Robobrine 🖑
30th Jan 2017, 3:17 AM
yakuza
yakuza - avatar