Answers for "Input concatenating with string"

0

Input concatenating with string

String s = "Vivek";
    Scanner scan = new Scanner(System.in);
    String s1 = scan.next();
    String sResult = s + s1;
    System.out.println(sResult);
Posted by: Guest on August-12-2021

Code answers related to "Input concatenating with string"

Browse Popular Code Answers by Language