what is polymorphism with example?types of polymorphism?
Answer Posted / sai
Two Types,namely
1)Compile Time Poly(Say as Method Overloading)
Methods having same name but differ in no. of
Parameters,Return type and order of parameters.
2)Runtime Poly(say as Method Overriding and Dynamic Dispatch)
Subclass methods having the same signature as that
of the super class method.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the ways to instantiate the class class?
Is logger a singleton?
Can you call a method in a method?
What is the arraylist in java?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
What is difference between fail-fast and fail-safe?
Can inner class extend any class?
What is the use of http-tunneling in rmi?
How to stop a thread in java? Explain about sleep () method in a thread?
Why scanner is used in java?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
What are the 8 primitive data types in java?
What is reflexive association?
Can we override final method?
What is meant by method?