Why some java methods in core libraries end with numbers?

前端 未结 3 993
南方客
南方客 2020-12-08 05:17

It\'s common in a lot of classes in JDK, just a few examples:

  1. java.util.Properties
    • load0
    • store0
  2. java.lang.Thread
      <
3条回答
  •  难免孤独
    2020-12-08 05:36

    I think the history of this convention predates Java. I vaguely recall seeing it in C libraries in 4.x BSD Unix.

提交回复
热议问题