File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the value of 'money'!!!

 
Karthika Vanappandian
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Consider the code snippet..
---------------------------------------------------
int money=0;
for(int i = 0;i<100;i++)
{
money = money++;
}
System.out.println("The value of money is "+money);
---------------------------------------------------
Can someone tell me the value of money in the above code by ellaborating the loop execution..?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic