Question about class

What is the difference between the class that is generated in the same class (below and above in the same class) and the class of different class (Money class and Banknotes class)?

can you expand on your question? what class is that? what language are you talking about?

Is java