Hi,
I don not understand how to implement "public AddressInterface getAddress()"
method in the Person class. Am I supposed to create an object Adress
interface inside? What will it return to? Can anyone show me an example
about this?
Thanks in advance
Regards


18 Mart 2009 Çarşamba 12:14 tarihinde Ahmet Süreyya Rifaioğlu <
[email protected]> yazdı:

> Of course you can. I accidently send the e-mail to your email address.
> Regards,
> Ahmet
>
> 18 Mart 2009 Çarşamba 11:35 tarihinde bulimic bulimic <[email protected]>yazdı:
>
>  Hi Ahmet,
>> I suppose this is a private email. Can I forward this to the discussion as
>> you can get prompt response there.
>>
>> I am at work. I have finished this lab but do not remember all details.
>> Therefore, I will only be able to respond when I get home tonight.
>>
>> Regards,
>> Min
>> ------------------------------
>> Date: Wed, 18 Mar 2009 00:25:30 +0200
>> Subject: Re: [java programming] Re: Lab 1027 Homework
>> From: [email protected]
>> To: [email protected]
>>
>>
>> Hi,
>> I don not understand how to implement "public AddressInterface
>> getAddress()" method in the Person class. Am I supposed to create an object
>> Adress interface inside? What will it return to? Can anyone show me an
>> example about this?
>> Thanks in advance
>> Regards
>>
>> 17 Mart 2009 Salı 08:55 tarihinde <[email protected]> yazdı:
>>
>>
>> On Mar 17, 5:40 am, Ahmet Süreyya Rifaioğlu
>> <[email protected]> wrote:
>> > Hi all,
>> > I am confused about the homework. My first question is that will there
>> any
>> > interfaces except AdressInterface and MyOwnInterface. I created
>> The homework asks to create above mentioned interfaces. Besides these,
>> there are other interfaces which resides within the same package.
>>
>> > MyOwnInterface as "public interface MyOwnInterface extends
>> > AddressInterface". Is this true?
>> You can choose to do it this way too, but will be less elegant. The
>> two interfaces can be fine on their own:
>> public interface MyOwnInterface{
>>  // abstract methods.
>> }
>> public interface AddressInterface{
>>  // abstract methods.
>> }
>>
>> > Regards
>>
>> >>
>>
>>
>> ------------------------------
>> What can you do with the new Windows Live? Find 
>> out<http://www.microsoft.com/windows/windowslive/default.aspx>
>>
>
>

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