*
The moose likes Java in General and the fly likes What is the magic in this piece of code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "What is the magic in this piece of code?" Watch "What is the magic in this piece of code?" New topic
Author

What is the magic in this piece of code?

Siva Prasad Reddy Katamreddy
Ranch Hand

Joined: Jun 06, 2007
Posts: 32

Hi,

The following code is giving the count value after for loop is 0. Can someone please explain me why?

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Have a look at this.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the magic in this piece of code?
 
Similar Threads
read next byte
rs.next() returns true, but if (rs.next()) block not executed
MultiDimenaional Array sort
java.sql.sqlexception: lock wait
get column value from column name