What does += mean coding?



What does += mean coding?..

Answer / Manjeet Kumar

In Java, the '+=' operator combines addition and assignment operations. When used with a variable, it adds a value to the variable and then assigns the result back to the variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

why do we use interface in java?

5 Answers  


When finally clause is executed?

3 Answers  


what is difference between set and list in collection?

3 Answers   Satyam,


Can we have return statement in finally clause? What will happen?

1 Answers  


What is application tier?

1 Answers  


What is flag in python?

1 Answers  


Difference between the String and StringBuffer classes?

3 Answers  


Explain about data types?

1 Answers  


Different types of Layouts?

11 Answers  


What is the collection interface?

1 Answers  


what is an object and how do you allocate memory to it?

6 Answers   Anshinsoft, Wipro,


What is the constructor?

1 Answers  


Categories