polymorphism means one name many form.polymorphism is defined as the when the object show the different different behaviour in the different environment.
polymorphism is important part of the object oriented programming.
it is of two types:
1. compile time plymorphism:the example of compile time polymorphism is function overloadind.
2. run time polymorphism:the example of run time polymorphism is function overriding.
java does not support compile time polymorphism
Polymorphism is the one of the basic concept of oops.It is the combination of the two words poly and morphism .Poly means many and morphism means multiple.Basically there are two types of polymorphism .one is method overloading and the another is method overriding.
In method overloading ,there are multiple methods having the same name in the same class but differs in datatype and parameters passed in them.It makes the more readable.
In method overriding,there are multiple methods having the same name but they are in different classes.The subclass override the method of the superclass. It makes the code reusable.
plymorhism means one name many form;
it is main basi principle of oops.
it is the ability of an object to show different behaviour in different circumstances.
polymorhism is aiways depends on behaviour.
polymorphism is of two types:- 1)run time:-object get bind with their functionality at run time 2)compile time:- object get bind at compile time.
polymorphism during compile time can be achieved via; 1)function overloading 2)operator overloading
polymorphism during run time can be achieved via: functio overriding
Polymorphism is the one of the basic concept of oops.It is the combination of the two words poly and morphism .Poly means many and morphism means multiple.Basically there are two types of polymorphism .one is method overloading and the another is method overriding.
In method overloading ,there are multiple methods having the same name in the same class but differs in datatype and parameters passed in them.It makes the more readable.
In method overriding,there are multiple methods having the same name but they are in different classes.The subclass override the method of the superclass. It makes the code reusable.
polymorphism means one man work for many work its called allrounder
Polymorphism is the basic of oops. this is the property of the class to play different roles. for ex:- A boy can play different roles as
son for his father,
student for his teacher,
friend for someone,
brother for his sister etc.
Poly means many and morphism means multiple.
Polymorphism is basically is of 2 types:- method Overloading
method overriding
In method overloading ,there are multiple methods having the same name in the same class but differs in datatype and parameters passed in them.It makes the more readable.
In method overriding,there are multiple methods having the same name but they are in different classes
POLYMORPHISM is an concept of oops which means one name many form.It increase the reusability of the code.it helps to improve the performance of the code.
for example,println(int)
println(long) println(10)
println(char)
so in this example println(int) will choose from all the method.
it is of two type:Compile time polymorphism and Runtime polymorphism.
Compiletime polymorphism:when a methods are binds at compile time so this process is known Compiletime polymorphism
Runtime polymorphism:when the methods are binds at runtime this concept is known as Runtime polymorphism
Polymorphism is the basic concepts of OOPS. POLY means Many, and morphism means MULTIPLE.it has two methods. one is method overriding and another is method overloading.
method overriding means there are multiple methods which have same name but they are in differnt classes .The subclass override the method of the superclass. It makes the code reusable.
method overloading is the multiple methods having the same name in the same class but differs in datatype and parameters passed in them.It makes the more readable.
In object-oriented programming, polymorphism refers to a programming language’s ability to process objects differently depending on their data type or class. More specifically, it is the ability to redefine methods for derived classes. 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.
Ravi Pratap Singh
polymorphism means one name many form.polymorphism is defined as the when the object show the different different behaviour in the different environment.
polymorphism is important part of the object oriented programming.
it is of two types:
1. compile time plymorphism:the example of compile time polymorphism is function overloadind.
2. run time polymorphism:the example of run time polymorphism is function overriding.
java does not support compile time polymorphism
abhishekkr
Polymorphism is the one of the basic concept of oops.It is the combination of the two words poly and morphism .Poly means many and morphism means multiple.Basically there are two types of polymorphism .one is method overloading and the another is method overriding.
In method overloading ,there are multiple methods having the same name in the same class but differs in datatype and parameters passed in them.It makes the more readable.
In method overriding,there are multiple methods having the same name but they are in different classes.The subclass override the method of the superclass. It makes the code reusable.
niranjan
plymorhism means one name many form;
it is main basi principle of oops.
it is the ability of an object to show different behaviour in different circumstances.
polymorhism is aiways depends on behaviour.
polymorphism is of two types:- 1)run time:-object get bind with their functionality at run time 2)compile time:- object get bind at compile time.
polymorphism during compile time can be achieved via; 1)function overloading 2)operator overloading
polymorphism during run time can be achieved via: functio overriding
atul.18790
Polymorphism is the one of the basic concept of oops.It is the combination of the two words poly and morphism .Poly means many and morphism means multiple.Basically there are two types of polymorphism .one is method overloading and the another is method overriding.
In method overloading ,there are multiple methods having the same name in the same class but differs in datatype and parameters passed in them.It makes the more readable.
In method overriding,there are multiple methods having the same name but they are in different classes.The subclass override the method of the superclass. It makes the code reusable.
polymorphism means one man work for many work its called allrounder
vikassingh8126
Polymorphism is the basic of oops. this is the property of the class to play different roles. for ex:- A boy can play different roles as
son for his father,
student for his teacher,
friend for someone,
brother for his sister etc.
Poly means many and morphism means multiple.
Polymorphism is basically is of 2 types:- method Overloading
method overriding
In method overloading ,there are multiple methods having the same name in the same class but differs in datatype and parameters passed in them.It makes the more readable.
In method overriding,there are multiple methods having the same name but they are in different classes
himanshu22
POLYMORPHISM is an concept of oops which means one name many form.It increase the reusability of the code.it helps to improve the performance of the code.
for example,println(int)
println(long) println(10)
println(char)
so in this example println(int) will choose from all the method.
it is of two type:Compile time polymorphism and Runtime polymorphism.
Compiletime polymorphism:when a methods are binds at compile time so this process is known Compiletime polymorphism
Runtime polymorphism:when the methods are binds at runtime this concept is known as Runtime polymorphism
navalkishorgiri
Polymorphism is the basic concepts of OOPS. POLY means Many, and morphism means MULTIPLE.it has two methods. one is method overriding and another is method overloading.
method overriding means there are multiple methods which have same name but they are in differnt classes .The subclass override the method of the superclass. It makes the code reusable.
method overloading is the multiple methods having the same name in the same class but differs in datatype and parameters passed in them.It makes the more readable.
sonamyadav
In object-oriented programming, polymorphism refers to a programming language’s ability to process objects differently depending on their data type or class. More specifically, it is the ability to redefine methods for derived classes. 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.
Jayshree
Polymorphism- OOP posses this property.where it allows to view the one single function to be referenced through multiple names.