Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Java
Problem in calculator program using"netbeans"( java)
Problem in calculator program using"netbeans"( java)
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Chamila
New Member
Join Date:
Jul 2008
Posts:
1
#1
Problem in calculator program using"netbeans"( java)
Jul 17 '08, 04:09 AM
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"?
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#2
Jul 17 '08, 06:26 AM
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
Comment
Post
Cancel
JosAH
Recognized Expert
MVP
Join Date:
Mar 2007
Posts:
11453
#3
Jul 17 '08, 06:33 AM
Originally posted by
Chamila
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
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment