Professional Documents
Culture Documents
Polymorphism
many forms
water forms
Defination
Polymorphism:-
{
OUTPU
System.out.println ("1");
} T
void show (String b ) // one argument
{ 1
System.out.println ("2");
}
public static void main (String args[])
{
Test t =new Test();
t.show (10);
}
}
class test
{
void show ( int a , String b) // two arguments
}
}
What is RunTime Polymorphism