.
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
.
No.
It is correct if the last brace is the closing of the class block.
What did the compiler say when the code was compiled?
If you don't understand my answer, don't ignore it, ask a question.
Shouting, bolding, repeating the same thing with no additional useful info, or just plain being annoying is not necessary.
Please read the Announcement topic at the top of the sub-forum to learn how to post your code in code or highlight tags.
The question is still too ambiguous. What does "right" mean? Why can't you compile it and run it to determine the answer yourself? Even IBM mainframes can have Java compilers and the ability to run Java's .class files.
Is there a way to get a javac program to compile the code?
If you don't understand my answer, don't ignore it, ask a question.
http://www.javaprogrammingforums.com...tml#post127708
This might help.
Where did all of the OPs posts go? They all seem to be blank.
Educating the world, one liberal at a time.
http://constitutionclub.ning.com/
http://liberty-amendments.freeforums.net/
https://www.change.org/petitions/sil...re-cheap-labor