0
How would the atrribute__a of the class b be accessed from outside the class?
2 Answers
+ 2
thank u
0
u must declare:
public before atrribute
now u can use this atrribute everywhere.
if you use:
private before atrribute
than only objects of this class can use this atrribute