Results 1 to 2 of 2

Thread: What’s the benefit of using inheritance?

  1. #1
    Registered
    Join Date
    Mar 2016
    Posts
    76

    What’s the benefit of using inheritance?

    What’s the benefit of using inheritance?

  2. #2
    Registered pxljobs's Avatar
    Join Date
    Jul 2016
    Location
    Bangalore
    Posts
    290
    The inheritance is the process allow a class to use properties and methods of another class it have benefit we see in the following way,
    1.Maintainability:
    Easy to identify the error
    2.Reusability:
    Facility to use public method of base class without rewriting the same
    3.Data hiding:
    The base class decided to some data in private so it cannot be altered by derived class
    4.Code compatibility:
    Avoid of typing code again and again.

Similar Threads

  1. What is benefit of bookmarking?
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 25
    Last Post: 09-29-2018, 12:17 AM
  2. What is the benefit of PDF submission ?
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 6
    Last Post: 12-07-2017, 10:07 PM
  3. How can Benefit From Twitter?
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 0
    Last Post: 05-04-2016, 04:44 AM
  4. What is the benefit of PPC ?
    By Nexevo Technologi in forum Search Engine Optimization
    Replies: 0
    Last Post: 12-26-2015, 06:55 AM
  5. Buy Corporate version and get benefit
    By abuzarshaikh in forum The Marketplace
    Replies: 0
    Last Post: 09-03-2014, 02:54 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •