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...!

17th Oct 2018, 7:22 PM
Programmer Karim
Programmer Karim - avatar
14 Réponses
0
Show code, it will be easier to solve your problem
17th Oct 2018, 8:29 PM
Daniel (kabura)
Daniel (kabura) - avatar
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()); } }
18th Oct 2018, 3:41 PM
Programmer Karim
Programmer Karim - avatar
18th Oct 2018, 4:17 PM
Daniel (kabura)
Daniel (kabura) - avatar
0
Daniel (kabura) Are you there?
18th Oct 2018, 8:56 PM
Programmer Karim
Programmer Karim - avatar
0
Yes
18th Oct 2018, 8:56 PM
Daniel (kabura)
Daniel (kabura) - avatar
0
I need your Help! Can I get any of your contacts like Social Media to get help from you please?
18th Oct 2018, 8:58 PM
Programmer Karim
Programmer Karim - avatar
0
It would really be nice of you!
18th Oct 2018, 8:59 PM
Programmer Karim
Programmer Karim - avatar
18th Oct 2018, 9:00 PM
Programmer Karim
Programmer Karim - avatar
0
Alright, Wait a bit!
18th Oct 2018, 9:02 PM
Programmer Karim
Programmer Karim - avatar
0
Got my mail?
18th Oct 2018, 9:03 PM
Programmer Karim
Programmer Karim - avatar
0
Yes
18th Oct 2018, 9:04 PM
Daniel (kabura)
Daniel (kabura) - avatar
0
Ok! Thanks!
18th Oct 2018, 9:04 PM
Programmer Karim
Programmer Karim - avatar
0
Please try to reply me! Thanks a lot!
18th Oct 2018, 9:06 PM
Programmer Karim
Programmer Karim - avatar
0
Please reply my mails when you are free!
18th Oct 2018, 9:09 PM
Programmer Karim
Programmer Karim - avatar