Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

illegal expression

3. Public, private or protected access modifier inside method
Variable inside the method is called local variable. In case of local variable you can not use any access modifier.
An access modifier is not allowed inside the method because its accessibility is defined by its method scope.
Source by javahungry.blogspot.com #
 
PREVIOUS NEXT
Tagged: #illegal #expression
ADD COMMENT
Topic
Name
6+8 =