Although operator overloading would have been much simpler to implement in Java than it was in C++, this feature was still considered too complex, so Java programmers cannot implement their own overloaded operators as C++ programmers can.

 
  • 与C++相比,尽管运算符过载在java里更易实现,但迄今为止仍然认为这一特性过于复杂。 所以java程序员不能象C++程序员那样设计自己的过载运算符。
今日热词
目录 附录 查词历史