Refactoring What is Refactoring? “Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its…