Home > Back-end >  About the special usage??
About the special usage??

Time:09-25


Excuse me 5 lines of code (+ count + +) is how to return a responsibility, should not be a single no-parameter constructor calls? Why can write a + count++ after parameter??

CodePudding user response:

This is done through a no-parameter constructor calls have ginseng constructor initializes the object in order to achieve the effect of, you say it in front of the line of code that just will count value with the string of joining together into a string, and then count the value 1

CodePudding user response:

Not conflict, the former is + string connection count, + + is the increased after operation

CodePudding user response:

Add the equivalent of a connector, in front of the back of the count++ you can understand as a whole, its operation mechanism is the, is, the value of the first count as count++ this expression values, then the count in 1.

CodePudding user response:

See, the count automatically translate into character in front of the form and link into character channeling

CodePudding user response:

Seems to be a novice, the former + + and + + understand certainly not deep, has many years of work experience person to also do not fully understand oh, can have a look at my article, easy to understand: https://blog.csdn.net/android_cai_niao/article/details/106027313
  • Related