Ex 7.15 Imagine a game in which some gameelements can be broken by the player and others can’t. Create aninterface called Breakable that has a method called break thattakes no parameters and another called broken that returns aboolean result indicating whether that object is currentlybroken.
Expert Answer
An answer will be send to you shortly. . . . .