Not to be an idiot about others, but I tried posting this question on stackoverflow, but all I got was a down vote, and got an answer about how my indentation was wrong. Ok I fixed that, but the code from the book still does not work. Make me kind of mad. In any case, hi ,new user! Here is my question:
That was class one.
That was class two. I got this out of Deitel's
java book. I am frustrated since I am new to Java, and this does not make sense. All I want to know is if the enclosed code in the attachment is right, or if it was a fail on my part inputting the code. Thank you. (I am using eclipse, and have the latest version of Java).