this is what i have but i need to also put in a last name and put it together in the "name" section.
public class Assign2
public static void main(String args)
String name = JOptionPane.showInputDialog("Please enter your first name:");
JOptionPane.showMessageDialog(null, "Welcome, " + name + ", to CIS 226.");