This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 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: 92


Why is there no output result ? =/ .

Thanks in advance for any help.
WeiJie Lim
Ranch Hand

Joined: Sep 05, 2012
Posts: 92
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: 11881
    
  18

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
 
It's not a secret anymore!