However, when two monkeys were placed in separate but adjoining chambers, so that each could observe what the other was getting in return for its rock, their behavior became markedly different.
然而,当两只猴子被放置在不同但相邻的房间里,以便让它们观察到对方用石头换来了什么时,它们的行为就变得明显不同了。
The behavior is not bound to the entity but provided by applications and “multiple applications can read the same entities yet implement very different behaviors”.
行为不是绑定到实体上的,而是由应用提供的,“多个应用可以读取相同的实体,却实现截然不同的行为”。
This was not an accident — nor necessarily the error that everyone assumes it to be — but the different behavior of generics vs. arrays does cause a great deal of confusion.
这不算很严重的问题 — 也不是所有人都认为的错误 — 但泛型和数组的不同行为的确引起了许多混乱。
应用推荐