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
what is predefined function in java?
Can a static class have a constructor java?
Why chararray() is preferred over string to store the password?
Why java strings are immutable in nature?
What is the hashcode () and equals () used for?
How to check if linked list contains loop in java?
Which package is used for pattern matching with regular expressions?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is incompatible types in java?
Can a static member function access member variable of an object?
What is the intersection and union methods?
Why is java not 100% pure oops?
Can we override the overloaded method?
Name and explain the types of ways which are used to pass arguments in any function in java.
Is array synchronized in java?