File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: i am not able to get out put of this program
 
Similar Threads
Enhanced for loop
Help compiling Program
Head first Java; simpledotcom problems...
i am still getting compile time error in this program plz give me solution
Test class cannot find other class