Take a look at Exercise #2 (specifically item #4) on the lab. The
concept of an interface being declared as a type is discussed.


On Dec 13, 1:53 pm, nn roh <[email protected]> wrote:
> Hi all,
>
> I am trying to do the homework , i didnt get this line :
>
> AddressInterface   getAddress();     how can a method return an interface ?
> can any one elaborate ..
>
> Thanks,
> Nada

-- 
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