Hi everyone. I am a newbie and a working on a mini project. Need Help.
a)While running one of my program, I encountered this error (marked in red)
b) As per output problem lies in line number 149, I switched to same but could not trace the error
even if i comment the same line ,the error is still
C:\Program Files\Java\jdk1.5.0_06\bin>javac dak.java
C:\Program Files\Java\jdk1.5.0_06\bin>java dak
Exception in thread "main" java.lang.NullPointerException
at dak1.<init>(dak.java:149)
at dak.main(dak.java:515)