0

Access modifiers declaration

Can you declare multiple methods under a single access tag? i.e "public: method1 method2" or do you have to do "public: method1 public: method2"?

20th Mar 2017, 11:43 AM
Amit Goldstein
Amit Goldstein - avatar
1 ответ
- 1
You do it the first way. The second way is valid but why do you like it the longer way :))
20th Mar 2017, 5:19 PM
hdo
hdo - avatar