This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hi, Need Help With this basic program

 
arjun chandar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[/code]
 
Carey Brown
Ranch Hand
Posts: 1458
16
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you meant for the last System.out.println() to appear BEFORE the brace. As it is it is out side of the method.
 
arjun chandar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, ya, thanks for the reply. It was just bugging me. Anyhow, this is my first post, and i don't know how to delete my post yet. As soon as i figure it out, i will delete it.
 
arjun chandar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can anyone tell me how to delete a post?

Also, if i post something, and i get my reply, and it works, Do i need to delete my post? or should i let it be there?

Guidance needed. I search for help on how to delete posts, but couldn't find it

Thanks in advance
 
Henry Wong
author
Marshal
Pie
Posts: 21112
78
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
arjun chandar wrote:Hi, can anyone tell me how to delete a post?

Also, if i post something, and i get my reply, and it works, Do i need to delete my post? or should i let it be there?

Guidance needed. I search for help on how to delete posts, but couldn't find it


Deleting a post is frowned upon here. People spend time to answer your question -- not only to help you, but to help others with similar questions. To delete a post, once you recieved an answer goes against this, and is ... selfish.

Henry
 
Janeice DelVecchio
Saloon Keeper
Posts: 1809
12
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

We let the posts stay here so other people might have a chance to learn, too. If you click "request to be resolved" at the bottom, a moderator will mark it for you as resolved.

 
arjun chandar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you @ Janeice. And yes, i wasn't going to delete anything. That's why the question before doing something about it. Thanks for your help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic