Get premium membership and access questions with answers, video lessons as well as revision papers.
The ability to take more than one form. It can also be defined as the ability to use the same syntax for objects of different types.
Example:
In some programming languages, the addition operation:
i) For two numbers generates a sum.
e.g.: 3 + 5 = 8,
ii) For two words generates a third string through concatenation of the wo
strings. e.g.:
Computer + Programming = ComputerProgramming
In OOP, polymorphism is used to describe variables which may refer at run time to objects of different classes. A single function can be used to handle different number and different types of arguments. The usage of a function to perform different types of tasks is referred to as overloading
Kavungya answered the question on May 15, 2019 at 15:14
- Define an interface.(Solved)
Define an interface.
Date posted: May 15, 2019. Answers (1)
- Describe Encapsulation.(Solved)
Describe Encapsulation.
Date posted: May 15, 2019. Answers (1)
- Define Data Abstraction.(Solved)
Define Data Abstraction.
Date posted: May 15, 2019. Answers (1)
- Define Dynamic Binding.(Solved)
Define Dynamic Binding.
Date posted: May 15, 2019. Answers (1)
- List the benefits of Object oriented programming.(Solved)
List the benefits of Object oriented programming.
Date posted: May 15, 2019. Answers (1)
- Explain the steps in program development.(Solved)
Explain the steps in program development.
Date posted: May 15, 2019. Answers (1)
- Give the types of flowcharts.(Solved)
Give the types of flowcharts.
Date posted: May 15, 2019. Answers (1)
- Outline the guidelines used during flowcharting.(Solved)
Outline the guidelines used during flowcharting.
Date posted: May 15, 2019. Answers (1)
- Write an algorithm that can be used in calculating and outputting the sum of the first 35 natural numbers.(Solved)
Write an algorithm that can be used in calculating and outputting the sum of the first 35 natural numbers.
Date posted: May 15, 2019. Answers (1)
- Describe the basics of C++(Solved)
Describe the basics of C++
Date posted: May 15, 2019. Answers (1)
- Explain the characteristics of a good C++ program.(Solved)
Explain the characteristics of a good C++ program.
Date posted: May 15, 2019. Answers (1)
- Describe the structure of a C++ program.(Solved)
Describe the structure of a C++ program.
Date posted: May 15, 2019. Answers (1)
- Outline the steps in creating a C++ source file.(Solved)
Outline the steps in creating a C++ source file.
Date posted: May 15, 2019. Answers (1)
- Explain the features of a C++ program.(Solved)
Explain the features of a C++ program.
Date posted: May 15, 2019. Answers (1)
- What are the guidelines to good C++ programming.(Solved)
What are the guidelines to good C++ programming.
Date posted: May 15, 2019. Answers (1)
- Describe programming in C++(Solved)
Describe programming in C++
Date posted: May 15, 2019. Answers (1)
- Write a program for input and output operations(Solved)
Write a program for input and output operations
Date posted: May 15, 2019. Answers (1)
- Write a C++ program that can compute and the sum and average of 15 numbers.(Solved)
Write a C++ program that can compute and the sum and average of 15 numbers.
Date posted: May 15, 2019. Answers (1)
- Describe Identifiers.(Solved)
Describe Identifiers.
Date posted: May 15, 2019. Answers (1)
- Differentiate between signed and unsigned integers.(Solved)
Differentiate between signed and unsigned integers.
Date posted: May 15, 2019. Answers (1)