Q: Assertion(A): An argument is a value that is passed to a method when it is called.
Reason(R): Variables which are declared in a method prototype to receive values are called actual parameters
-
A
Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A)
-
B
Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion(A)
-
C
Assertion (A) is true and Reason (R) is false
-
D
Assertion (A) is false and Reason (R) is true
C
Answer:
C
Explanation:
Let's carefully analyze:
Assertion (A): An argument is a value that is passed to a method when it is called.
Reason (R): Variables which are declared in a method prototype to receive values are called actual parameters.
-
❌ This is incorrect terminology.
-
Variables in the method declaration are called formal parameters, not actual parameters.
-
Actual parameters are the values (arguments) passed during the method call.
So: Assertion is true, Reason is false.
Answer: (c) Assertion (A) is true and Reason (R) is false
Related Topic:
Share Above MCQ