import java.util.Scanner;

class completename{
public static void main(String args[]){
Scanner user_input = new Scanner(System.in);

String first_name,last_name;
System.out.print("first name:");
first_name = user_input.next( );

System.out.print("last name:");
last_name = user_input.next( );

System.out.print(first_name + " " + last_name);

}
}

Java Code: Joining Two Strings from User Input

Posted on

Thursday, June 7, 2012

8 Comments
  1. Great overview! Our data modeling course focuses on structuring data with real-world business scenarios. data modeling certification

    ReplyDelete
  2. Very useful info! Our Dell Bhoomi course explains land records clearly with hands-on guidance. boomi training

    ReplyDelete
  3. Good read! Our Java course helps learners master fundamentals through practice and live projects. java coaching online

    ReplyDelete
  4. Nice insights! Our UI/UX training emphasizes user-focused design ui design course online
    and industry-ready skills.

    ReplyDelete
  5. Learn data visualization and analytics with a power bi course online designed for real-world business insights.

    ReplyDelete
  6. "Enhance your career with expert sales force developer training gaining hands-on experience in Apex, Visualforce, and Lightning components. Learn to build robust applications and streamline business processes with industry-focused guidance."

    ReplyDelete
  7. "Boost your career with sales force admin course designed to teach you essential admin skills and best practices.

    ReplyDelete
  8. "Enhance your career with comprehensive sales force developer training mastering custom apps, Apex, and Lightning components."

    ReplyDelete