What is compile time polymorphism?
Answer Posted / madhuri
Compile Time Polymorphism in Java is when you have the
several methods with same name and different parameters and
compiler has to decide how to select which method has to run
based on the arguments hence the name Compile time
polymorphism or method overloading.
| Is This Answer Correct ? | 24 Yes | 8 No |
Post New Answer View All Answers
Which method cannot be overridden in java?
Differentiate between overriding and overloading cases?
Define an enumeration?
What are the different ways to handle exceptions?
Can we declare a constructor as final?
which pattern is default in scanner package?
what is singleton class in java?
What is null object in java?
Can we have any code between try and finally blocks?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
What is boolean logic?
What do you mean by formatting?
How static variable work in java?
What is the primitive type byte?
What is a boolean output?