In this program I have developed the ideas of private variables, interfaces, classes and public methods.