Ruby Programming – Inheritance in Ruby
Inheritance is one of the great feature in Object Oriented Programming. Ruby supports inheritance. Inheritance allows to inherit the features of the base classes to...
C#: Classes – Access Specifiers & Inheritance
‘C#’ class members are accessible based on their access specifiers. I will write a separate article on class’s access specifiers in more detail. But here...
C++ – Inheritance – to extend class
Inheritance allows to reuse the functionality. Inheritance inherits base class members to it’s derived class. We can use base class members within the derived class...
C++ – Class Constructors
In C++, class constructors are special kind of methods to instantiate a class. When class’s object is going to create, C++ will first call class’s...
C++ – How to create an interface or an abstract class?
An interface is a contract between a caller and a callee. An interface doesn’t provide any implementation. It provides a blue-print. C++ uses virtual keyword...
C++ – How to define virtual functions?
C++ is a Object Oriented language. C++ uses virtual keyword in different places. One of the use of virtual keyword is to create virtual functions....