Java supports method overloading, allowing you to have methods with the same name but different parameters. This feature enables flexible method usage. For example, `calculateTotal(int quantity)` and `calculateTotal(double price, int quantity)` can coexist in the same class, serving different purposes in an e-commerce app.
Additional Notes
How does Java distinguish between methods with the same name?