New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Fill in the blanks to declare a method that takes one argument of type int. public int myFunc( x) return x*10;
Fill in the blanks to declare a method that takes one argument of type int. public int myFunc( x) return x*10; Unlock Hint
7 Answers
+ 2
after return x*10;
then close method myFunc (). like }
public in myFunc(int x){
return x*10;
}
+ 1
its not worth asking the question if you dont understand what it means. Ask what the question means that would be more helpful :).
0
public int myFunc(int x) {
return x*10;
}
0
public int myFunc(int x) {
return x*10;
}
- 2
public int myFunc(int x)
return x*10;
- 2
public int myFunc(
int
x)
{
return x*10;
}
- 3
assist me guys