Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interface class

843789Dec 17 2009 — edited Dec 17 2009

Hi All,

If we want to get class object of and Interface we say,
MyInterface.class

Why should interface have a class object.? After all its not a class.. but an Interface..isn't it?

Thanks
Aneesh
<address>[http://aneeshjoy.blogspot.com|http://aneeshjoy.blogspot.com ]</address>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2010
Added on Dec 17 2009
13 comments
150 views