+ 1

shared by all the instances

Can you please help me answering this variables are shared by all the instances of the class ?

23rd Apr 2021, 11:21 AM
Fancy
Fancy - avatar
3 odpowiedzi
0
are shared by all instances if declared to be public.
23rd Apr 2021, 11:31 AM
Erlénio.RS
Erlénio.RS - avatar
+ 5
Erlénio.RS only static variables are shared by all instances of that class.
23rd Apr 2021, 1:19 PM
D_Stark
D_Stark - avatar
+ 1
Thank you guys
24th Apr 2021, 6:02 PM
Fancy
Fancy - avatar