Bookmark Topic Watch Topic
  • New Topic

Method behaving differently  RSS feed

 
mvPrasad Regula
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Report post to moderator
Why is the following code returning zero? If I call giveMeJ() directly in System.out.println, I am getting 10.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Having ignored multiple warnings regarding your display name, your account has been closed.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!