Please can someone help me
I try to compile the code with the netbeans compiler
I got an error:
Exception in
thread "main" java.lang.RuntimeException: Uncompilable source code - non-static variable this cannot be referenced from a static context
at javaapplication2.Main.main(Main.java:23)
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)
It's the code of the book of head first java. can someone tell me what I am doing wrong?