Best Answer

• Compile time Polymorphism also known as method overloading

• Method overloading means having two or more methods with the same name but with different signatures

LEarn Design Pattern,C#,ASP.NET,LINQ,Sharepoint,WCF,WPF,WWF

User Avatar

Wiki User

โˆ™ 2010-12-16 22:11:17
This answer is:
User Avatar
Study guides

Add your answer:

Earn +20 pts
Q: What is Compile Time Polymorphism in OOPS?
Write your answer...
Still have questions?
magnify glass
Related questions

Types of polymorphism?

run time ,, compile time polymorphism

Define compile time polymorphism with short examples?

compiler can decide which form of the object should be invoked during compile time.this type of polymorphism is know as compile time polymorphism

What is compile time polymorphism in java?

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.

Why run time polymorphism is dynamic and compile time polymorphism is static?

Runtime prolymorphism means overriding compiletile polymorphism means overloading

What is run time polymorphism?

In run time polymorphism compiler doesn't know about way of execution of program that mean decide way of execution at run time while in compile time polymorphism compiler know about the way of execution of program. Example : compile time polymorphism -- method overloading run time time polymorphism -- method overriding

What is Difference between dynamic polymorphism and static polymorphism?

Static polymorphism is used the concept of early binding or we can say compile time binding where as dynamic polymorphism used the concept of late binding or run time binding.

Method overridding is run time polymorephism or compile time polymorphism?

Method overriding is runtime polymorphism, because method of which class will be called is determine at run time.

Is late binding and dynamic binding related to polymorphism?

Late binding and dynamic binding are related to runtime polymorphism. By contrast, compile time polymorphism is known as static binding. Template functions and classes are examples of static binding because the exact type can be determined at compile time.

What are features of oops?

OOPS is a object oriented programming language. Features of OOPs is encapsulation inheritance polymorphism

How polymorphism can be implemented in c plus plus?

In C++, compile-time polymorphism is achieved through the use of template metaprogramming while runtime polymorphism is achieved through virtual functions.

What is runtime polymorphism?

Polymorphism is Greek for "many forms". There are two types of polymorphism: static and dynamic. Static polymorphism occurs at compile time and is also known as compile time polymorphism. Dynamic polymorphism occurs at runtime and is also known as runtime polymorphism. Runtime polymorphism is a primary feature of the object-oriented programming paradigm. We achieve runtime polymorphic behaviour by defining virtual methods in a base class which derived classes can then override in order to provide more specialised implementations. Whenever we invoke one of these methods, the most-specialised override is executed automatically. In other words, polymorphic objects will behave according to their runtime type even when the runtime type cannot be determined at compile time.

What is oops concept?

OOPS stands for object oriented programming in short . Characteristics of OOPs are : encapsulation, data hiding, polymorphism etc.

People also asked