So I have to get the users first and last name which I have but then I have to take the first letter of the persons first name and concatenate it to the last name to create a username (all lowercase)
but I'm stuck on how to add that... Im assuming I have to use one of the methods from the string class but I'm not exactly sure which one or how to do it?
 package userinput.java;
 import java.util.Scanner;
 public class UserinputJava {
 public static void main(String[] args) 
  {
   Scanner userInput = new Scanner (System.in);
   String firstname;
   String lastname;
   String fullname;
   System.out.print("Enter first name: ");
   firstname = userInput.next();
   System.out.print("Enter last name: ");
   lastname = userInput.next();
   fullname = firstname + lastname;
   System.out.println ("You are " + fullname + "!");
  }
 }
 
     
    