PROGRAM 1
public class Program1
{public static void main(String[] args)
{System.out.println("Your Name - Assignment 1\
n"); System.out.println("Your text here");
System.out.println("Your text here");
System.out.println("Your text here");
System.out.println("Your text here");
System.out.println("Your text here");
System.out.println("Your text here");
} // end method main
} // end class Program1
PROGRAM 2
import javax.swing.JOptionPane;
public class Program2
{public static void main(String[] args)
{System.out.println("Your Name - Assignment 1\n");
//Get user's name.
String name;
name = JOptionPane.showInputDialog(null, "Enter your name.");
JOptionPane.showMessageDialog(null, "Welcome " + name + ", to church of your
choice \nThe Scripture for the day is: choose a scripture.\ninput the scripture here.");
}
}
PROGRAM 3
public class Program3 {
public static void main(String[] args)
{System.out.println("Your Name - Assignment 1\n");
public class Program1
{public static void main(String[] args)
{System.out.println("Your Name - Assignment 1\
n"); System.out.println("Your text here");
System.out.println("Your text here");
System.out.println("Your text here");
System.out.println("Your text here");
System.out.println("Your text here");
System.out.println("Your text here");
} // end method main
} // end class Program1
PROGRAM 2
import javax.swing.JOptionPane;
public class Program2
{public static void main(String[] args)
{System.out.println("Your Name - Assignment 1\n");
//Get user's name.
String name;
name = JOptionPane.showInputDialog(null, "Enter your name.");
JOptionPane.showMessageDialog(null, "Welcome " + name + ", to church of your
choice \nThe Scripture for the day is: choose a scripture.\ninput the scripture here.");
}
}
PROGRAM 3
public class Program3 {
public static void main(String[] args)
{System.out.println("Your Name - Assignment 1\n");