-
1.
It contains one method that accepts an argument to do something with the message in the implementation of the interface.
该接口包含一个方法,该方法接受一个参数来对接口实现中的消息进行一些处理。
-
2.
If you have a creative idea about how to accomplish something faster, smarter or better than the current method, do it your way and see what happens.
比起现有方法,如果有关于如何更快、更聪明或更好地达到成功的有创意的想法,用你自己的方法解决,看看会发生什么。
-
3.
The first is a convenience method (not something that you'd probably want to do in production code), and the second is the traditional method that requires a bit more work.
第一种方法非常方便(但是在产品代码中您可能并不希望使用),第二种方法是传统方法,需要多做一些工作。