/* Author : Michael Robinson Program : MyInfo.java Purpose : An External Class with variables and methods to be used by other classes Updated : August 16, 2099 */ public class MyInfo { private static int theCredits = 0; public static void myName() { System.out.println( "Hi, my name is Good Looking!!!" ); } public static void myMajor() { System.out.println( "Well, my major has to" + " do with Science!!!" ); } public static void setCredits( int credits ) { theCredits = credits; } public static int getCredits() { return theCredits; } }//end public class MyInfo