Object-oriented programming, I need a description about how this code works

please format code with </> button * homework policy * asking questions

**I need a description about how this code

It’s a long piece of code… Is there something in specific you want to know?


As @jb4x noted this is a really long piece of code.
It would be better if you could select a couple of areas you don’t understand to focus on.

Is this a homework assignment by any chance?


What is the source of this code?
Who is the author of this code?


Um, so given the phrasing of your post, you do understand that you are asking us to do your homework for you right?

The forum’s homework guidelines here:
“Our goal is to give you starting points and to help you break down problems and learn how to solve them for yourself – not to do your homework for you!”

And here:

We can help you if you share what YOU currently understand and specifically point to areas in the code you need help with.