organizing array output

Reply

Join Date: Mar 2003
Posts: 5
Reputation: BMF is an unknown quantity at this point 
Solved Threads: 0
BMF BMF is offline Offline
Newbie Poster

organizing array output

 
0
  #1
Mar 17th, 2005
Hi,
I am beginner in programming with java .. I have a silly question and I hope you help me!
how to print an integer array contents without leaving new line after each digit because this happens when I use System.out.println..
I am sorry for disturbing you..
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: organizing array output

 
0
  #2
Mar 17th, 2005
use this:

  1. System.out.print();

Just leave off the ln, in println.
Reply With Quote Quick reply to this message  
Join Date: Mar 2003
Posts: 5
Reputation: BMF is an unknown quantity at this point 
Solved Threads: 0
BMF BMF is offline Offline
Newbie Poster

Re: organizing array output

 
0
  #3
Mar 17th, 2005
Thankkkkkkkkk you very much..
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: organizing array output

 
0
  #4
Mar 17th, 2005
No problem; glad I could help!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum


Views: 2130 | Replies: 3
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC