Thursday, 14 January 2016

What is inheritance and where have you implemented that in your framework?



Inheritance is a mechanism in which one object acquires all the properties and behaviors of parent object. 
The idea behind inheritance is that you can create new classes that are built upon existing classes. When you inherit from an existing class, you reuse (or inherit) methods and fields, and you add new methods and fields to adapt your new class to new situations.
Inheritance represents the IS-A relationship.
In our framework we have created a class with method name “OpenBrowser” which inherit the functionality of “Driver” class for different browsers.

No comments:

Post a Comment