[java programming] Lab1027-6.1

2009-07-22 Thread JKid314159
[java programming] Lab1027-6.1 To: happy27...@yahoo.com Date: Wednesday, July 22, 2009, 6:52 PM Hello, I traced out the error. 1.) The return type of reflect method is void and then you are calling that method in  System.out.println( "This is the new method = " + personA

[java programming] Lab1027-6.1

2009-07-22 Thread JKid314159
Dear Java Programmer:     INTERFACE WITH METHOD SIGNATURE Package mypersoninterface   public interface PersonInterfaceAnother {      // Add another method to the interface    void reflect();   }//PersonInterfaceAnother interface     CONCRETE CLASS IMPLEMENTATION: Package mypersoninter

[java programming] Lab1027-6.1

2009-07-21 Thread JKid314159
Dear Java Programmer:   I have an interface with a method declared as such “void newMethod();”   I implement this method in the concrete class as the following:   public void newMethod{ System.out.print(“New Method implemented in concrete class.); }   In the Main class I create a new object of this