Polymorphism Example
For example, given a base class
shape
,
polymorphism enables the programmer to define
different
area
methods for any number of derived
classes, such as
circles
,
rectangles
and
triangles
.
No matter what shape an object is, applying the
area
method to it will return the correct results.
5
List of Job consultancies in Chennai
-
*List of consultancy in chennai*
1. A & S Software Technologies
2. A G P International Services
3. A K Rajkhan Travels
4. Added Values
5. Aditya Consulta...
10 years ago
0 comments:
Post a Comment