Dear Programmers,

I'm currently doing LAB-1027 about Java Interfaces.
On the homework assignment I have to modify the MyPersonMultipleInterfaces
 project.

I have to create an Interface called MyOwnInterface and it has the following 
method: AddressInterface getAddress();

I did the following:

public interface MyOwnInterface extends AddressInterface 

{

    public AddressInterface getAddress();   

}

and now I have to implement the Interface in the Person class but I don't 
know how to add the getAddress Interface and create a return statement for 
AddressInterface:


so I'm wondering how can I implement the getAddress method in the Person 
class and create a valid return statement.



Kind Regards,
SterAllures

-- 
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to