Computer Applications
Answer
| Simple Method | Overloaded method |
|---|---|
| Simple Methods have unique names. | In case of Overloaded methods, there are two or more methods with the same name. |
| We can identify the method being invoked by looking at its name. | We need to examine the method's number and type of parameters to determine which method will be invoked. |
Related Questions
Which OOP principle implements function (method) overloading?
A palindromic prime is a prime number and also palindromic. For example, 131, 313, and 757 are prime numbers and also palindromic prime numbers. Write a program that displays the first 100 palindromic prime numbers.
Differentiate between the following:
Call by value and Call by reference
Differentiate between the following:
Pure and Impure methods