JAVA Introduction

Java is an object oriented language and developed by Sun Microsystems in 1991 in USA. Java is object oriented language. And use to develop the windows applications and web applications. …

JAVA

Java is an object oriented language and developed by Sun Microsystems in 1991 in USA. Java is object oriented language. And use to develop the windows applications and web applications. …

C++ Constructor overloading

Like methods constructors can also be overloaded since the constructor in a class have the same name as that of the class their signatures are differentiate as their parameter list. …

C++ constructor with arguments

A constructor with arguments are constructor having same name as that of a class, in which it is define and accepts input parameters to initialize the data members of a …

C++ Default constructor

Default constructor is a constructor without any parameter. And default constructor is implemented in two ways: a.      Implicit default constructor b.      Explicit default constructor     a. Implicit default constructor: An implicit …

Constructors

A constructor is a member function of a class i.e. uses to create objects of the class. It has the same name as the class. A constructor has no return-type …

Methods overloading

In method overloading we can make the methods with the same name but with different parameters. When we call a function then C++ compiler matches the name and then number …

C++ Hybrid inheritance

The method of combining any two or more forms of inheritance in single form is called hybrid inheritance. Program: /*PROGRAM TO IMPLEMENT HYBRID INHERITANCE*/ #include<conio.h> #include<iostream.h> class base { int …

C++ Hierarchical inheritance

The form of inheritance in which more than one classes are derived from single base class is known as hierarchical inheritance. We can implement the hierarchical inheritance by defining at …