On Mon, Nov 25, 2013 at 12:07:47PM +0530, Reuben wrote:
> Hi,
>
>
> Question no 1:
> --
> I would like to know why do we actually inherit classes? What would be the
> benefit of inheriting?
>
> If possible, a practical example would be of great help
Fundamentally, inheritenc
Thanks to Alan and Dominik for their explanation and valuable time to
provide their inputs.
On Mon, Nov 25, 2013 at 4:41 PM, Alan Gauld wrote:
> On 25/11/13 06:37, Reuben wrote:
>
> Question no 1:
>> --
>> I would like to know why do we actually inherit classes? What would
On 25/11/13 13:29, Albert-Jan Roskam wrote:
> ===> interesting. Is this (a) the same as or (b)
> similar to Abstract Base Classes (ABC) in Python?
MIB...is usually defined in terms of Managed Objects(MO). There is
a standard protocol (a set of methods or API) that all MOs
must adhere
Another case in in Network management. Network management
systems
use what is called a MIB. A Management Information Base. The
MIB
is usually defined in terms of Managed Objects(MO). There is
a
standard protocol (a set of methods or API) that all MOs
must
adhere to. Specific types of ne
Hi Reuben,
> Question no 1:
> --
> I would like to know why do we actually inherit classes? What would be the
> benefit of inheriting?
I think this is not the classical explanation of this, but when teaching
programming to my students, I make a very great deal of the following
On 25/11/13 06:37, Reuben wrote:
Question no 1:
--
I would like to know why do we actually inherit classes? What would be
the benefit of inheriting?
Inheritance is the key to providing polymorphism. It also saves a lot of
duplication in that a new class only has to impleme
Hi,
Question no 1:
--
I would like to know why do we actually inherit classes? What would be the
benefit of inheriting?
If possible, a practical example would be of great help
Question no 2:
--
Why would I ever use a class? I understand this is strange