See this link for Assignment
Policies, Submission Instructions, and Grading Guidelines.
1. Write a Java application that does the following:
2. IMPORTANT NOTE: Create a 2nd
class (class definition) in the same file as your LastNameFirstNameX
class (client) with 2 static variables
& 2 static methods to do the “calculations”. Each static method should have
a return value. The 2nd class should NOT have the keyword “public”
in front of it.
3. In the 2nd class, initialize (declare & instantiate) your first & last name as two separate static String variables.
4. In the 1st class, output your full name using the two separate static String variables created in step #3. Use either System.out.println() or JOptionPane.showMessageDialog().
5. In the 2nd class, define (write) a static method that returns your initials. The method should use the static String variables that store your first & last name.
6. In the 1st class, call this method & output the results. Use either System.out.println() or JOptionPane.showMessageDialog().
7. In the 2nd class, define (write) a static method that returns your first name in all lowercase letters & last name in all upper case letters. The method should use the static String variables that store your first & last name.
8. In the 1st class, call this method & output the results. Use either System.out.println() or JOptionPane.showMessageDialog().
9. IMPORTANT NOTE: Make
sure that your program follows the ICS 111 Java Coding Standard. The comments
above each method should be written in the appropriate format.
10. For this assignment, since there is no input (only output), you do not need to use try-catch blocks.
© 2007 William Albritton