Computer Applications
Parameters which receive the values from the called method are termed as …………… parameters.
- actual
- formal
- reference
- class
User Defined Methods
4 Likes
Answer
formal
Reason — Parameters that receive values passed from the calling method are called formal parameters. They act as placeholders in the method definition to accept the actual values (actual parameters) during method invocation.
Answered By
2 Likes
Related Questions
What is the type of error, if any, when two methods have the same method signature?
- Runtime error
- Logical error
- Syntax error
- No error
The advantage/s of user-defined methods are/is:
(i) Reusability
(ii) Complexity
(iii) Modularity- Only (i)
- (ii) and (iii)
- Only (iii)
- (i) and (iii)
Which of the following is a valid method prototype?
- public int perform (int a;int b)
- public perform (int a, int b)
- public int perform (int a, int b)
- public perform int (int a, int b)
Which of the following is the CORRECT statement to invoke the method with the prototype int display(int a, char ch)?
- int m = display('A', 45);
- int m = display( );
- int m = display(A,45);
- int m = display(45,'A');