What is Polymorphism ??
poly means( many) morphism means (form )
that means one can perform many action like you me etc ..
we can talk we can sleep we can eat we can run etc ...
In programming language we can perform many action using
method..
see example : MyMethod ( ) {
.............
..............
}
MyMethod ( int p, String s ) {
.............
..............
}
MyMethod (int s ) {
.............
..............
}
if you want to know more how can achieve polymorphism ...
go to this link and gain your knowledge as well
No comments:
Post a Comment