Home > DeveloperSection > Forums > why give different result in this statement
Amit Singh

Total Post:103

Points:673
Posted on    October-02-2010 5:04 AM

 Java Java 
Ratings:


 1 Reply(s)
 761  View(s)
Rate this:
for example
int s=23;
s++ and ++s
the result of s++ and ++s in java is different from c++ why?


Awadhendra Tiwari

Total Post:126

Points:816
Posted on    May-20-2011 8:29 AM

I had tried this code.

This will provide same result according to this senario.

Can you provide a working function so that I will find out possible bugs.
















Recent Activities


Sumit Kesarwani added new Question What is the Vector class in java?   yesterday

Anchal Kesharwani added new Blog JSON Syntax   8 days ago

Anchal Kesharwani added new Article How to Send Mail in Node.JS   8 days ago

Top Contributors

Don't want to miss updates? Please click the below button!