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 difference between class and object in java?
How many bits is a boolean?
Is Java a dying language?
What is meant by method?
What best practices should you follow while writing multithreaded code in java?
Describe the term diamond problem.
What is instance synchronization?
What is Enum in Java?
How we can generate random numbers in java?
Does constructor return any value?
What is integer parseint?
what is synchronization and why is it important? : Java thread
What do you mean by local class?
What is the final class?
How do you initialize an arraylist in java?