95.5k views
5 votes
Which of the following cannot be an actual parameter under any circumstances?

Select one:
a. A variable
b. A method call
c. A constant
d. A keyword
e. An expression
f. A literal

1 Answer

4 votes

Final answer:

A keyword cannot be used as an actual parameter because it has a predefined meaning in a programming language and is reserved for specific language functionalities.

Step-by-step explanation:

The following cannot be an actual parameter under any circumstances: d. A keyword. Keywords are reserved words in a programming language that have a predefined meaning and cannot be used for any other purpose including being passed as parameters. Examples of keywords are if, else, while, etc., which are used to define control flow and cannot act as a parameter or identifier for a method or function.

User Peekay
by
7.4k points