A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Programmer Certification (SCJP/OCPJP)
Does every interface extend class Object?
Joined: Nov 27, 2005
Dec 01, 2005 11:09:00
I know every class extend Object by default. Is this true with Interfaces too?
A related question would be, can an interface extend another class?
Joined: May 22, 2003
Dec 01, 2005 11:12:00
Interfaces do not extend Object. Interfaces may extend other interfaces.
I agree. Here's the link:
subject: Does every interface extend class Object?
java.lang.Object is a class or Interface
John Hunt mock: Q30
Inner classes must extend?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014