Hello friends , In Java while programming, there is a common error which the developers faces and it is, ” javac : Cannot find Symbol“ These errors are due to variables going out of their scope. Scoping errors come in many shapes and sizes. One common mistake happens when a variable is shadowed and two scopes overlaps. Just go through scope of variable to revise your concept on Java variables and their scopes. http://www.ezdia.com//Java---Cannot-find-Symbol-error/Content.do?id=1302 Nice explanation on how to avoid errors caused due to calling variables from outside their scope