0

How can I access my count variable from one class that is located in a different class?

My count variable has to be static ( it is declared as : "public static int count = 0" ). I need to access it in a different class but it says cannot find symbol, symbol: variable count, location: class Etf.

2nd Apr 2020, 4:25 AM
Fare Jare
Fare Jare - avatar
0 Answers