471,870 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,870 software developers and data experts.

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 2332
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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.