Professional Documents
Culture Documents
Design Pattern Is A General Repeatable Solution To A Commonly Occurring Problem in Software
Design Pattern Is A General Repeatable Solution To A Commonly Occurring Problem in Software
Design Pattern Is A General Repeatable Solution To A Commonly Occurring Problem in Software
form, which helps the programmer in software coding and implementation. It deals with
representing the client's requirement.
interface
An interface can extend another interface in the same way that a class can extend another
class. The extends keyword is used to extend an interface, and the child interface inherits the
methods of the parent interface.
Inheritance in Java is a mechanism in which one object acquires all the properties and
behaviors of a parent object. ... The idea behind inheritance in Java is that you can create new
classes that are built upon existing classes. When you inherit from an existing class, you can
reuse methods and fields of the parent class.
The mechanism of deriving new class using old class is called inheritance