• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting the largest element in an array  RSS feed

 
WeiJie Lim
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Why is there no output result ? =/ .

Thanks in advance for any help.
 
WeiJie Lim
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, found out that I stupidly didn't put any system.out.println .. Sorry people.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12529
48
Chrome Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!