Answer Posted / zeeshan
Polymorphism can be achieved by two ways:
1.Overloading 2.Overriding
1.Overloading: Overloading means methods have same name but
different arguments it can be achieved at Compile Time.
1.Overriding: Overloading means when we make method virtual
in base class and we also want that it also used in child
then we use override keyword for that method and and it can
be achieved at Run Time.
Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is abstraction with example?
What does and I oop mean in text?
What is destructor example?
What is multilevel inheritance?
What are the important components of cohesion?
what are the different types of qualifier in java?
What is a class in oop?
What is persistence in oop?
What is encapsulation process?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is meant by multiple inheritance?
Is abstract thinking intelligence?
What is abstraction example?
What is inheritance write a program to show use of inheritance?