What output results from this code? public static void main(String[ ] args) { doSomething(4); } static void doSomething(int | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

What output results from this code? public static void main(String[ ] args) { doSomething(4); } static void doSomething(int

30th Jan 2017, 10:27 PM
Yohanna Ezra
Yohanna Ezra - avatar
7 Answers
+ 7
no sens
9th Feb 2017, 9:15 AM
L Boudhar
L Boudhar - avatar
+ 5
there's a mistake in your code
3rd Feb 2017, 10:17 PM
L Boudhar
L Boudhar - avatar
+ 5
Error
7th Feb 2017, 7:01 PM
Cory Gutierrez🔹
Cory Gutierrez🔹 - avatar
+ 2
first of all some_part of your question is missing. you are asking the question in methods. in missing part question says x*x so your answer should be 16.
1st Feb 2017, 11:51 AM
ilk er
ilk er - avatar
+ 2
provide your full code
9th Feb 2017, 5:18 AM
Mujahith ilahi
Mujahith ilahi - avatar
+ 1
Provide The Full Code So I Can Answer You
31st Jan 2017, 12:08 AM
Syrian Lucianos
Syrian Lucianos - avatar
0
the answer is 16
21st Jan 2021, 7:38 PM
Emely Musonda