Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
What's the setName thing
2 odpowiedzi
0
Hey =) when returning something (get method) you have a return type. When you're setting a value (set method) you don't return anything back ;)
0
ok thanks