0
Java Help!
How to add to codes together in Java, I mean when I put two codes in Java, it only output one of it, not the other, why is it so? Please help me! Looking forward for your kind help...!
14 Réponses
0
Show code, it will be easier to solve your problem
0
Any Code like,
import java.util.Scanner;
public class FirstName {
public static void main(String[] args) {
Scanner firstName = new Scanner (System.in);
System.out.print (firstName.nextLine());
}
}
import java.util.Scanner;
public class LastName {
public static void main(String[] args) {
Scanner firstName = new Scanner (System.in);
System.out.print (firstName.nextLine());
}
}
0
If you mean using methods
https://code.sololearn.com/c5667V823rvy/?ref=app
0
Daniel (kabura)
Are you there?
0
Yes
0
I need your Help! Can I get any of your contacts like Social Media to get help from you please?
0
It would really be nice of you!
0
Daniel (kabura)
Please?
0
Alright, Wait a bit!
0
Got my mail?
0
Yes
0
Ok!
Thanks!
0
Please try to reply me!
Thanks a lot!
0
Please reply my mails when you are free!