Java programming assignment:
Define a class representing an inflatable balloon. Balloon should have a method inflate( ) (which can be called many times) and a maximum inflation pressure. It should act appropriately if the Balloon is overinflated. Since Balloon is a proper Java class, it shouldn't be possible to change the pressure without calling inflate( )!