Jump to content

x += y essentially means x = x+y

 

Yep, and x++; = x + 1;

Read more here: http://java.about.com/b/2009/05/23/java-term-of-the-week-compound-assignment-operator.htm

Best regards Zahlio,
Unity asset developer - Game developer (http://playsurvive.com) - Computer Science student

Link to comment
https://linustechtips.com/topic/144800-what-does-it-meanjava/#findComment-1936475
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×