This is a good example of object oriented programming in which we can create two instances of a 'Gallery' object such as 'nature' and 'city' and have common functionalities.