Category: Classes in C++

Constructor:-

 

1)   Constructor is used for Initializing the values to the data members of the Class.

2)    Constructor is that whose name is same as name of class.

3)   Constructor gets Automatically called when an object of class is created.

4)   Constructors never have a Return Type even void.

5)   Constructor are of  Default , Parameterized and Copy Constructors.

 
Category: Classes in C++

Overloading: When a single Object has multiple behaviors. Then it is called as Overloading. Overloading is that in which a Single Object has a same name and Provides Many Functions. In Overloading followings things denotes Overloading:-

 
Category: Classes in C++

1: Polymorphism : 'Polymorphism' is an object oriented term. Polymorphism may be defined as the ability of related objects to respond to the same message with different, but appropriate actions.

 
Category: Classes in C++

Early Binding:Early Binding Always Occur in the Polymorphism, when we pass the Reference of a sub Class into .the Pointer Object of Base Class, then the Member Functions Are never to be Override. When we execute the Program then Compiler knows this thing. This is called as Early Binding. And the Compiler will Execute the Member Functions of Base Class and this will never overrides the Body of the Sub Class Member Function. This is known as the early binding.

 

 
Category: Classes in C++

Storage Classes are used to determine in which space the value of variable will Stored. And what will be the value of variable, when we doesn’t Specify the value of variable. And In what Place we can use the value of variable. The Storage Classes Determines the Following things.

 
Category: Classes in C++

Access Modifiers :- These are also Called as Access Visibility Controls  means they defined where a method and Data Member of class will be used either inside a  class ,outside a class ,in inherited class or in main Method They Tells us the Scope of Methods where they would be used Various types of Access Modifiers  are as follows:-

 
Category: Classes in C++

Classes and objects are separate but related concepts. Every object belongs to a class and every class contains one or more related objects.

 
Category: Classes in C++

In the Hierarchical Inheritance, when we use The Same Data Member in the Sub Class Then the Data Member will Contains the Many values So that here Data Member will be Ambiguous Because a Single Data Member have two or more values.

 
Category: Classes in C++

The major purpose of a database system is to provide users with an data abstract view of the system. The system hides certain details of how data is stored, created and maintained. Complexity should be hidden from the database users, which is known as Data Abstraction.

 
Category: Classes in C++

Friend classes are used when two or more classes are designed to work together and need access to each other's implementation in ways that the rest of the world shouldn't be allowed to have. In other words, they help keep private things private. For instance, it may be desirable for class DatabaseCursor to have more privilege to the internals of class Database than main() has.

 

Page 1 of 2



Dinesh ThakurDinesh Thakur is a Columinist and designer with strong passion and founder of Computer Notes. if you have any ideas or any request please get @me on Google+
linkedin FaceBook Twitter Google Plus