This issue I'm having is that according to the homework, Person.java 
needs to implement MyOwnInterface which has a method of return type 
AddressInterface:

public AddressInterface getAddress()

..and I don;t know how to return any data to this.

AddressInterface contains the abstract methods that AddressImpl 
implements, but I don't know how to link them together......




jagan jag wrote:
> u can extend one interface from another interface by using "extends" 
> keyword
>
> On Wed, Nov 12, 2008 at 12:48 AM, Simon Moffatt <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     Hi all
>
>     I'm having great difficulty in figuring out this homework.  I have
>     created the AddressInterface and AddressImpl classes easily enough
>     but don't understand how to relate MyOwnInterface to AddressInterface.
>
>     Any ideas welcome, I'm really stuck!
>
>     Thanks
>
>     Simon
>
>     >
>
>
>
> -- 
> jagan


-- 


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to