But, when the byte code is executed I receive the following error message:
Exception in thread �main� java.lang.NoSuchMethodError: main
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by JMH Harris:
... Also, how does one display in a readable format the *.class file? I would like to be able to see the bytecode...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration."- Stan Kelly-Bootle
Originally posted by JMH Harris:
...Here's what the new code looks like:
...snip...But now the program just ends without producing that cute GUI with the two buttons.
So are we saying the example on page 3 of "Head First Java" is in error for not including the "main" method
and why am I not seeing the GUI so eloquently portrayed in the text?
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
Originally posted by John Samaniego:
The Objective of Java is the cross-platform thing.....It'll take like a month for the books to arive so by then I could have read half or 1/4 of the book...
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Originally posted by John Samaniego:
.... like a java god .....
Originally posted by John Samaniego:
Sorry but I just heard that Cross-Platform thing on some of the students at school...
I wish you guys can help me somehow to become like you guys... though I'm 19 and its like a long way to go before I can be trully good at Java...
I even saw the article that a 12-yr old kid wants to learn C++ and I can't imagine to think that At that Age I'm just learning to mas*@b*te... Sheesh... I wish I could be that kiddo... But... I just have to rely on how many hours I have to spend on learning...
I really want to read that Head First Java because my brother has been telling me for months now and he said that it's a good book for beginners who wants to learn Java(other than the Deitel book)... I saw the book on my brother and I'm kinda hooked unto it because it's not a boring book...
well I cannot contact my brother now so I cant borrow the book so I guess I just have to wait for the book and continue reading this deitel's book for Java...
yeah I've noticed that I'll be working more on Classes... and I hope you guys can help me a lot... and I do believe you guys can.
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |