• User-interface design:Another popular application of OOP has been in the area of designing graphical user interfaces such as Windows. C++ is mainly used for developing user-interfaces. • Developingcomputergames:OOP is also used for developing computer games such as Diablo, Startcraft and Wa...
Define polymorphism and how is used in OOP. Briefly describe what an Interface is and how it can be used in an object-oriented program. Provide example pseudocode showing how an IAnimal Interface might be constructed. How to do polymorphism? Explain the concept of encapsulation. Provide an...
OOP can be compared to the basic English grammar, where the basic grammar teaches you how to construct a meaningful and correct sentence using words, and OOP teaches you to construct classes, encapsulate properties and methods inside