1) Worth 2 points Create a Super Class named lastNameFirstNameInitialSuperPgm4

1) Worth 2 points
  Create a Super Class named lastNameFirstNameInitialSuperPgm4 containing:
  a) method1   that accepts one int and can not be inherited displaying the
               the int value received.
  b) method2   that accepts two strings and displays them, and also displays I am super method2   
  c) method3   that accepts nothing and displays I am super method3   

                                 ————————————
                                 |  robinsonMSuperPgm4 super-class  |
                                 |             method1              |
                                 |             method2              |
                                 |             method3              |
                                 ————————————
  
2) Worth 2 points
  Create three sub classes named sub1, sub2, and sub3 which are sub classes of the Super Class named lastNameFirstNameInitialSuperPgm4, and are also Super Classes themselves, and they inherit
  all methods from your super class in question 1 ( lastNameFirstNameInitialSuperPgm4 )

                                 ———————————–
                                 |   sub1   |   sub2   |   sub3    |
                                 |  Super1  |  Super2  |  Supper3  |
                                 ———————————–

3) Worth 2 points
  a) Create a sub class named lastNameFirstInitialTheBuilder, which is a sub class of sub2/Super2  
     class and displays all methods of the lastNameFirstNameInitialSuperPgm4 super class ONLY
     plus the words: I am TheBuilder
                                      ———————–
                                      | robinsonMTheBuilder |
                                      |      sub-class      |
                                      ———————–
     
  b) Write a sub-class program called lastNameFirstInitialOverloader containing
     all inheritable methods from your super class in question 1 ( lastNameFirstNameInitialSuperPgm4 )
     overloading method2 by displaying “Hello I am the Overloader”

                                      ———————–
                                      | robinsonMOverloader |
                                      |      sub-class      |
                                      ———————–

4) Worth 2 points
  Create a driver class (with a main method) named lastNameFirstNameInitialTheDriverPgm4
  (example robinsonMTheDriverPgm4) using all methods in all classes from questions 1, 2 and 3
  
                                    ————————–
                                    | robinsonMTheDriverPgm4 |
                                    |      driver-class      |
                                    ————————–
  
Interfaces
———-   
5) Worth 2 points
  Create an interface named lastNameFirstNameFirstLetterInterface ex: robinsonMinterface  
  

  a) The following String global public variables:
     personPanterID = “”;
     personLastName = “”;
     personFirstName = “”;

  b) And the following method templates returning void and accepting Strings
     thePersonSchool
     thePersonID
     thePersonLastName
     thePersonFirstName

6) Worth 2 points
  Create a program that implements the interface in question 5) and name it      
  lastNameFirstNameFirstLetterDriver ex: robinsonMDriver

  a) Make sure to initialize your global variables.
  b) Create a new global variable named school, containing the String FIU
  c) In the thePersonSchool method display the global variable containing FIU
  d) In the thePersonID method display a String passed in from the main method
  e) In the thePersonLastName method display your global variable
  f) In the thePersonFirstName method display a String passed in from the main method

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions