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 are the various access specifiers in java?
What is difference between throw and throws ?
How to compare strings in java?
How to store image in arraylist in java?
What are drawbacks of singleton class?
Why chararray() is preferred over string to store the password?
What are autoboxing and unboxing? When does it occur?
What is a flag variable?
What is the static variable?
Explain the concept of proper inheritance?
What is the maximum size of arraylist in java?
What is var keyword ?
How would you format a date in java? I.e. In the ddmmyyy format?
What is type conversion in java?
What is java and its types?