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
Which package is imported by default?
What is encapsulation in java?
what is mutual exclusion? : Java thread
Are arrays passed by reference in java?
What is java command?
What is the simpletimezone class in java programming?
How many times finalize method will be invoked? Who invokes finalize() method in java?
How is tree Mirroring implemented?
What is substring in java?
What is the use of inner class?
What do you mean by local class?
Can two objects have same hashcode?
Explain spliterator in java8?
Which collection does not allow duplicates in java?
What is flush buffer?