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
Under what conditions is an object’s finalize() method invoked by the garbage collector?
How do you convert an int to a string in java?
Is there any tag in htm to upload and download files?
Can you call a method on a null object?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
What does a void function return?
In which order the iterator iterates over collection?
What is substring 1 in java?
How to declare objects of a class ?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Are arrays dynamic in java?
Are primitives objects?
Do I need to import java.lang package any time? Why?
Can you call a method in a method?
Which java ide is used the most?