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