Forums Register Login

Error in Object Creation?

+Pie Number of slices to send: Send
For below code why i get erro

output:
java.lang.NoSuchMethodError: main
Exception in thread "main"

+Pie Number of slices to send: Send
what are you typing on your command line? are you running "java A" or "java B"?
The harder you work, the luckier you get. This tiny ad brings luck - just not good luck or bad luck.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 708 times.
Similar Threads
Constructors...
How to decide whether use IS A or HAS A Relation
object Vs instance
Object creation
Certification4Career SCJP Mock Exam Errors??
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:23:36.