1
1
Fork 0
AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 3/task.md

262 B

Summary 2 (#3)

Create a FixedHolder class with a constructor parameter that sets the maximum number of Any objects that can be held. Add read-only size and full properties. If the user calls add() when it's full, throw an IllegalStateException.