Which among the following can show polymorphism?
Options
- A. Overloading ||
- B. Overloading +=
- C. Overloading <<
- D. Overloading &&
C. Overloading <<
Polymorphism means “one name, many forms.”
In C++, polymorphism can be achieved using operator overloading.
The << operator is commonly overloaded for output using cout.
Attempt Quiz Now:
BPSC Tre 4.0 OOPS Concepts Practice Set