I new to Java and I have a problem, When i try making a public/private variable
EXAMPLE:
private int varName;
Eclipse gives me an error:
Illegal modifier for parameter count; only final is permitted
Local variables and parameters cannot have public or private modifier. You can only give final to them. Not even static can be used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With