The purpose of this example was to practice 3 of the 4 principles of OOP. Encapsulation, abstraction and inheritance. There is a parent class Tax, and several children classes with different tax rates, depending on the country. The program calculates the tax amount for the different countries and the suggested tip of a restaurant bill.