java - Illegal modifier for parameter count; only final is permitted -


i new java , have problem, when try making public/private variable example: private int varname; eclipse gives me error: illegal modifier parameter count; final permitted

local variables , parameters cannot have public or private modifier. can give final them. not static can used.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -