I have wrote the method delete turtle below. Which is part of turtle collection (Hashmap)
I need to now modify it so the method ensures that the turtles shape collection is cleared before the Turtle object is deleted.
I am beginner and really confused any sort of help will be appreciated thanks.