Explain the concept of polymorphism with examples?
Answer Posted / dhawal
polymorphisum-polymorphisum means one name many
forms,basically polymorphisum is base class pointer which
can access derive class members
real time example:-
on street signal if red signal turn on all type of vehicals
are stops means on single action multiple tasks are done.
compile time polymorphisum-overloading.
run time polymorphisum-overriding.
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What are the different types of inheritance in java?
What is protected in java?
Explain wait(), notify() and notifyall() methods of object class ?
What is a file pointer?
What are exception handling keywords in java?
What is ordered map in java?
Differentiate between class and structure.
What is a type parameter in java?
What is the largest long allowed by java?
What is a class component?
If try block is successfully executed, Then Is Finally block executed?
What is string intern in java?
What is treemap in java?
How do you check if a character in a string is a digit or letter?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea