It is possible to have a void return type from an overloaded operator function because:

A. it is the only return type allowed in an overloaded operator function
B. the function call might consist of the entire line of code
C. void is often used in operations
D. there might not be any input parameter


B

Computer Science & Information Technology

You might also like to view...

Which of the following is not one of the major components of a computer system?

a. the preprocessor b. the CPU c. main memory d. input/output devices e. secondary storage

Computer Science & Information Technology

The Regulation of Investigatory Powers Act seriously eroded traditional notions of privacy in the United Kingdom

Indicate whether the statement is true or false.

Computer Science & Information Technology

The ____________________ function is the preferred method to copying files as it uses less resources on the server.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which method is used to retrieve a Boolean value from a SharedPreferences object?

A. getBool() B. getBoolean() C. readBoolean() D. readBool()

Computer Science & Information Technology