wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes i am not able to get out put of this program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "i am not able to get out put of this program" Watch "i am not able to get out put of this program" New topic
Author

i am not able to get out put of this program

vijayreddy patil
Greenhorn

Joined: Feb 12, 2008
Posts: 5



Edit by mw: Added Code Tags.
[ March 11, 2008: Message edited by: marc weber ]
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
in main()
for(int cell : locationCells)
if( cell != 0) System.out.println( Integer.toString(cell));
Or something of that nature.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Welcome to JavaRanch!

Your code won't compile because there is an extra parenthesis in this line...

After fixing that, your code should compile and run with output.


"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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i am not able to get out put of this program
 
Similar Threads
Head first Java; simpledotcom problems...
Test class cannot find other class
Help compiling Program
Enhanced for loop
i am still getting compile time error in this program plz give me solution