hi please any body check below program.
for the above program i declared constructor but showing exception as a
Exception in
thread "main" java.lang.RuntimeException: Uncompilable source code - cannot find symbol
symbol: constructor Emp(int,java.lang.String)
location: class Emp
at JCDExample.main(JCDExample.java:44)
Java Result: 1
BUILD SUCCESSFUL (total time: 10 seconds)
but when i runned first time application it was executed and second time its not running successfully. if i delete at the line Emp e1= new Emp(60,"josh");
Emp and type once again Emp its executing.
what to do where i did mistake. let me know please.