"Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic…