Computer Applications
Parameters in method definition are called
- actual parameters
- formal parameters
- informal parameters
- void parameters
Related Questions
Assume x = 1 with the following code snippet:
int y = --x;Which one of the following is true?
- x = 1, y = 1
- x = 0; y = 0
- x = 1; y = 0
- x = 0; y = 1
Consider the following code snippet:
float x = 8.25F; int y; y = (int)x;What are the values of x and y?
- x = 8.25, y = 8
- x = 8.0, y = 8.0
- x = 8, y = 8.25
- x = 8, y = 8
Give the output of
Math.ceil(-0.6)- -1.6
- -1.5
- -1.0
- -0.0
Which operator cannot be used with if-else statement?
- <=
- ||
- &&
- ? :