Basic Principles of OOPS Why OOPs are Popular in Comparison to Other Types of Programming Principles? Modularity and Organization OOP allows…