On 10/4/2012 3:48 PM, Mike T. wrote:
Hi,
For the Java Programming, javase_interface homework:
I'm not sure what this means:
Write an interface called MyOwnInterface, which has
the following method
AddressInterface getAddress();
How can AddressInterface interface be a type for the
getAddress method? |
I didn't see examples of this in the *.pdf and examples
from the lab. I'm not sure really how to go about defining
getAddress then if it passes back an interface of type
AddressInterface.
The MyOwnInterface should look like following.
public interface MyOwnInterface {
AddressInterface getAddress();
}
Thanks in advance,
Mike T.
--
You received this message because you are subscribed to the Google
Groups "JPassion.com: Java Programming" group.
To unsubscribe from this group, send email to
jpassion_jav...@googlegroups.com.
Visit this group at http://groups.google.com/group/jpassion_java?hl=en-US.
--
-------------------------------------------------------------------
Sang Shin, sangshi...@gmail.com
http://www.linkedin.com/in/javapassion (Linkedin)
http://twitter.com/javapassion (Tweeter)
Life is worth living... with Passion!
----------------------------------------------------------------------