Challenger App

No.1 PSC Learning App

1M+ Downloads
Which of the following can be overloaded?

AVariable

BObjects

CClass

DFunction

Answer:

D. Function

Read Explanation:

  1. Both functions and operators can be overloaded.
  2. C++/JAVA allows you to one definition for a function name or an operator in the same scope, which is called function overloading and operator overloading respectively.

Related Questions:

What is the correct JavaScript syntax to write "Hello World"?
Java is an example for .....
An object is an instance of :
Which command is used to add a column into database table?
An ...... program is one that is ready to run and does not need to be altered in anyway :