What is compile time polymorphism?
Answers were Sorted based on User's Feedback
Answer / pooja
In compile time polymorphism, the overloaded member
functions are selected for invoking, by matching arguments
type,number and sequence by compiler at compile time.
it is also called early or static binding.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shubh
When object is bound with its functionality at compile time.
Then polymorphism is called compile time polymorphism.
Function overloading is a way to achieve compile time
polymorphism in java.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / charles i
overloading method and the compiler has to decide when to
call the method..
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / coolm
Function and operator overloading is compile time polymorphism.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sadikhasan palsaniya
method overloading with final keyword is known as compile
time polymorphism.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ahmad salam mehsu
This is another type of polymorphism also called as compile
time polymorphism or static binding. Using template provides
compile-time polymorphism.
So "compile time polymorphism" means function overloading.
It applies only to functions because they're all you can
overload.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / laukik
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 ? | 0 Yes | 0 No |
Answer / oneeb dadgar
It is also known as a Early-Binding.In this method, overloading method performs the different tasks at the different input parameters.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / dimuth lasantha
One method can use another method using changes functions and operations.We can can mention it as method overloading.its means method name can't be change but method body and return type can be change.
| Is This Answer Correct ? | 0 Yes | 2 No |
I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?
what do you mean by stream pipelining in java 8? Explain
What is Transient and volatile
Give a practical example of singleton class usage?
Do I need java on my computer?
Explain the key functions of data binding?
0 Answers Akamai Technologies, Aspire, Impetus, Infogain, Tavant Technologies, Virtusa,
What is a void method?
What data type is true or false?
How can be define MARKER interfce in java
Why is flag used in java?
What is string args [] in java?
What is the synonym of framework?