Inheritance/Single: Difference between revisions

Content deleted Content added
removing duplicate entry
Line 125:
* See [[Inheritance/C]]
 
=={{header|C#}}==
<lang csharp>class Animal
{
// ...
}
 
class Dog: Animal
{
// ...
}
 
class Lab: Dog
{
// ...
}
 
class Collie: Dog
{
// ...
}
 
class Cat: Animal
{
// ...
}</lang>
=={{header|C++}}==
<lang cpp>class Animal