- 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") ; } }

10th Jan 2017, 1:12 PM
HASAN
HASAN - avatar
4 Answers
+ 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.
10th Jan 2017, 1:28 PM
Andreas K
Andreas K - avatar
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
11th Jan 2017, 5:55 AM
HASAN
HASAN - avatar
0
what is your issue with the code?
11th Jan 2017, 9:21 AM
Andreas K
Andreas K - avatar
0
in the main method
11th Jan 2017, 10:48 AM
HASAN
HASAN - avatar