- 4
How to solve this code? just for the professionals only😊
pls help import java.util.*; public class Program { public static void main(String[] args) { hassan me = new hassan(); amin him = new amin() ; me.boy(System.in.nextInt()); him.mama(); } } public class hassan { public hassan (){} public static int boy (int x) { int boy = x; return boy; } } public class amin { public amin(){} public void mama() { System.out.println ("hay mom") ; } }
4 Respuestas
+ 2
What do you mean with "Solve the code"? Do you want us to deliver the output? or every object's changes aswell? Btw keep on coding with conventions.
0
I mean that I Want someone to help me with this code and what I said before for professionals only course every time I post a question no one can solve it and the other hand no one have solve it currently do you now understand what I mean
0
what is your issue with the code?
0
in the main method