Problem Statement
When an object changes its behavior based on its internal state, using many conditional statements (if-else or switch) makes the code complex and hard to maintain. This leads to bugs and difficulty in adding new states or behaviors.
