Table Tennis problem refers to the back-and-forth call of methods.
1. In the pseudo-intermediary mode (5.5), chatting between boys and girls is typical of table tennis.
Public class boy extends actor {@ override public void send (string message, actor to) {PLN (this. name + "to" +. name + ": \" "+ message +" \ "");. receive (message, this) ;}@ override public void receive (string message, actor from) {char c = (char) (math. random () * 4 + 'A'); If (C! = 'B') {string MSG = message + "" + C; send (MSG, from );}}}B. Receive (message, this) in the code of object A. Send (string message, actor to), while B. Receive () itself sends (). 2. Some people say that the callback is "you call me, I call you ". I don't want to talk about this kind of error.
3. The command mode table tennis can be seen as the origin of the command mode. The command mode provided directly can be hardly understood, but it is interesting why such a strange idea occurs.
Even if yqj2065 is deduced repeatedly, it is similar to a helper line that needs to be added to the question of ry in the middle school. It can be thought of only by racking your brains or making a smart move, but it is still not used to it.
Table Tennis Problems