why java does compile time polymorphism at run time ?
Answer Posted / pratiksha
Compile time polymorphism-->i.e.method ovrloading and it is
done at compile time.Because in overloading same method
names having different signature and compiler can decide which
method to run by checking data type of arguments.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is the byte range?
Can a singleton class be inherited?
Why are there no global variables in java?
What is the difference between object oriented programming language and object based programming language?
Why are the objects immutable in java?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
What is the set interface in java programming?
Can we catch more than one exception in single catch block?
How static variable work in java?
Do I need to import java.lang package any time? Why?
Java.util.regex consists of which classes?
How will you reverse a singly-link list?
What is the length of a string?
Explain the difference between collection api and stream api in java8?
List some important characteristics on jre