we achieve runtime polymorphism by method overloading,compile time polymorphism by method overriding
but i need simple code example to both of those
we achieve runtime polymorphism by method overloading,compile time polymorphism by method overriding
but i need simple code example to both of those