What is compile time polymorphism?
Answers were Sorted based on User's Feedback
Answer / shankar olaiyur
compile-time polymorphism is achieved by
overloading functions and operators.
| Is This Answer Correct ? | 52 Yes | 7 No |
Answer / bandu kank
In compile time polymorphism, compiler decided which have
to be executed depending on the parameter type and list
| Is This Answer Correct ? | 54 Yes | 10 No |
Answer / kaukab
We can achieve compile time polymorphism through overloading
method, on compile time compiler decide that which method
will be executed.
| Is This Answer Correct ? | 40 Yes | 5 No |
Answer / sudipta sadhukhan
java support two types of polymorphism.one is compile time
polymorphism(it's actually overloading)and run time
polymorphism(it's actually overriding.So,complie time
polymorphism is simple overloading.
| Is This Answer Correct ? | 23 Yes | 6 No |
Answer / 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 |
Answer / sahaj
polymorphism is the ability to use an operator or function
in different ways.
| Is This Answer Correct ? | 20 Yes | 6 No |
What is Java Package and which package is imported by default?
How applets will communicate with each other?
What is role of void keyword in declaring functions?
What is complexity and its types?
What do you understand by soft reference?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
What will happen if a thrown exception is not handled?
0 Answers ABB, Akamai Technologies, Infogain,
Is it possible to write static method in abstract class? justyfy your answer?
What is a function in java?
What releases of Java technology are currently available? What do they contain?
How to perform Singleton of the java class object on multi JVM?
Write a factorial program using recursion in java?