/** * Creating objects by instantiating classes. First three are in the API, the last, Friend is self defined. * * @author Hunter * @version 1/31/05 */ public class StringStuff { public static void main(String [] args) { String myString = new String("input string"); String second = new String("Jolly"); Scanner scan = new Scanner(System.in); Friend f1 = new Friend("name"); } }