An abstract class is a parent class that allows inheritance
but can never be instantiated. Abstract classes contain one
or more abstract methods that do not have implementation.
Abstract classes allow specialization of inherited classes.
Wrapping up of data into a single unit..
abstraction means providing the relevant information only
and hiding other information..
encapsulation means capsuling of data in the class..in
encapsulation the data members are declared in a class.and
we u want to use that variables only the copy of the
variables goes there which we use in other public
classes.this generates the concept of information hiding.
encapsulation also provide scurity to the data variables
abstaction means hiding information details.it creates a
new data item with encapsulated objects.
encapusulation means it encapsulates both the code and data
and it manipulates the both and keeps safe from
interferences and misuse.
1.explicit call for destructor
2.calling function inside a constructor.
3.base *b-new derived
4.delete p what it will delete.
5.size of base class and derived class int i,in base class
and int j in derived.
int i =5;
int i =10;
9.function overloading(return type).
class derivied:public base()
11.how static function will call in C++?
12.default structures are in C++?
13.constructors should be in public .
14.virtuval constructor not exist.
15.multilevel inhritence. destructor order.