Re: [jpassion_java] Java Programming, javase_interface question...

125 views
Skip to first unread message

Sang Shin

unread,
Oct 11, 2012, 8:33:05 PM10/11/12
to michael...@gmail.com, jpassi...@googlegroups.com
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!
----------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages