aspose file tools*
The moose likes Beginning Java and the fly likes Getting the largest element in an array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Getting the largest element in an array" Watch "Getting the largest element in an array" New topic
Author

Getting the largest element in an array

WeiJie Lim
Ranch Hand

Joined: Sep 05, 2012
Posts: 85


Why is there no output result ? =/ .

Thanks in advance for any help.
WeiJie Lim
Ranch Hand

Joined: Sep 05, 2012
Posts: 85
Sorry, found out that I stupidly didn't put any system.out.println .. Sorry people.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 10929
    
  12

Glad you figured it out.

And believe me, you are much more likely to remember things like this when you figure it out yourself than when someone tells you. Everyone here who has ever written more than 10 lines of code has made such mistakes...It's part of the learning process.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting the largest element in an array
 
Similar Threads
need help about command line arguments
problem using toString()
2d arrays help
Finding the biggest number using java
Finding Nth Largest element of an array without sorting