What is Stateless Object in Java?

前端 未结 10 1439
猫巷女王i
猫巷女王i 2020-11-30 21:32

Currently I\'m reading \"Java concurrency in practice\", which contains this sentence:

Since the action of a thread accessing a stateless object can\'

10条回答
  •  日久生厌
    2020-11-30 21:53

    An object without state, like instance variables that can change and vary depending on what has already happened to the object

提交回复
热议问题