469,342 Members | 6,008 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,342 developers. It's quick & easy.

Problem in calculator program using"netbeans"( java)

Why am I getting errors when I try to run the calculator progam using Netbeans5.5?
error :-" class,interface or enum expected"

Also, explain what's"enum"?
Jul 17 '08 #1
2 2244
r035198x
13,262 8TB
Part of the compiler's job is to verify that your program is syntactically correct. If it's not (as in your case) then it reports those error messages to you.
Best way to know what an enum is is by reading about it from Sun's tutorial
Jul 17 '08 #2
JosAH
11,448 Expert 8TB
Why am I getting errors when I try to run the calculator progam using Netbeans5.5?
error :-" class,interface or enum expected"
Check whether or not your curly brackets match up; I suspect you have at least
one closing curly bracket too many.

kind regards,

Jos
Jul 17 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.