Computer Applications
Parameters that are passed to the called method during the method call are termed as …………… parameters.
User Defined Methods
2 Likes
Answer
actual
Reason — Parameters that are passed to the called method during the method call are termed as actual parameters.
These are the real values provided as input to the method.
For example:
public void display(int x) {
System.out.println(x);
}
public static void main(String args[]) {
display(5); // Here, `5` is the actual parameter.
}
Answered By
1 Like
Related Questions
Define a class to overload the method perform as follows:
double perform (double r, double h) — to calculate and return the value of curved surface area of cone
void perform (int r, int c) — Use NESTED FOR LOOP to generate the following format
r = 4, c = 5
output
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5void perform (int m, int n, char ch) — to print the quotient of the division of m and n if ch is Q else print the remainder of the division of m and n if ch is R
Design a class to overload a function series( ) as follows:
(a) void series (int x, int n) – To display the sum of the series given below:
x1 + x2 + x3 + ………. xn terms
(b) void series (int p) – To display the following series:
0, 7, 26, 63 ………. p terms
(c) void series () – To display the sum of the series given below:
1/2 + 1/3 + 1/4 + ………. 1/10
Invoking a method by passing the objects of a class is termed as:
- Call by reference
- Call by value
- Call by method
- Call by constructor
Method which reverses a given number is:
- Impure method
- Pure method
- Constructor
- Destructor