Skip to main content

Posts

Showing posts with the label constructor

Constructor and its types

CONSTRUCTOR  A member function with the same name as its class is called constructor & its is used to initialized the object of that class DEFAULT CONSTRUCTOR  A constructor that accepts no parameter is called the default constructor PARAMETER CONSTRUCTOR  A constructor that accepts parameter for its invocation is known as parameter constructor