Browsed by
Day: July 24, 2015

Implementing Polymorphism in C++

Implementing Polymorphism in C++

Polymorphism means one name different forms. Polymorphism occurs in program when we inherit  base class to derived class having similar function. When base class has same function name as in derived class than the program return the value in base class because of early binding or static binding. In early binding function in the base class is read by compiler and its returns the same value during execution. #include <iostream> using namespace std; class Pizza{…

Read full Article Read More

Installing Sublime text in Linux

Installing Sublime text in Linux

Installing sublime text through command line is very easy. First you have to adds a PPA to your list of sources, so that Ubuntu knows to look for updates from that PPA as well as from the official Ubuntu sources. If you do not add this ppa then you will get less recent version of any application. Then, you need to the update the local database to know what package can be installed and from…

Read full Article Read More