1) Classes:
They are blue print to create objects
2)Object:
It is instance of class
3) Modules:
Set of classes grouped into one is called module.
A fully qualified ,unique name=Module+name of the class
4) Inheritance:
Deriving properties from base classes. Emphasis on
reusability
5)Interface:
An
interface is a collection of abstract methods. A class implements an interface,
thereby inheriting the abstract methods of the interface.
An
interface is not a class. Writing an interface is similar to writing a class,
but they are two different concepts. A class describes the attributes and
behaviors of an object. An interface contains behaviors that a class implements
in
summary,
Class
has fields and methods. So it describes behavior of object.
Interface
has abstract methods, they are implemented by classes. i.e class behavior is
defined in interface.
6) Constructor:
Used
to initialize the variables of the objects.
7) Destructor:
used
to deallocate the variables.
thank u for sharing this postTop Cloud Managed Service Providers
ReplyDeleteCloud Management Services