Company: Qualcomm Software engineering Oncampus_15july
Difficulty: medium
A banking system defines: class Account { private balance updateBalance(amount) } A developer creates a subclass PromotionalAccount and exposes: public adjustBalance(amount) which directly modifies the underlying balance without the validation rules implemented inside updateBalance() . During production, several accounts show invalid negative balances even though the base class prevents this. What encapsulation breach caused the failure? Pick ONE option Adding method overloading that increases constructor parameter count Using a new parameter type that expands acceptable data formats Exposing an alternate path that bypasses protected validation logic Maintaining an internal cache without aligning with calling sequence Output Format Print the text of the correct option exactly as it appears above.