how will you declare a method by passing argument as 88 by function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

how will you declare a method by passing argument as 88 by function?

1st Sep 2016, 2:33 PM
Akshay Kumar
Akshay Kumar - avatar
2 Answers
+ 1
declare a method like this void mthd(int); and call the method with 88 as argument mthd(88);
2nd Sep 2016, 5:50 AM
atulvarma96
- 1
public void main (); house.rent(); class house into rent=500; void rent(int x) {x=I}
27th Sep 2016, 4:15 PM
Tarun