| Author |
What class must an inner class extend ?
|
josephine chen
Ranch Hand
Joined: Oct 29, 2002
Posts: 216
|
|
What class must an inner class extend ? A. The top level class ---- does it mean static inner class ?? B. The Object class //yes C. Any class or interface //yes D. it must extend an interface //no
|
 |
Tony Alicea
Desperado
Sheriff
Joined: Jan 30, 2000
Posts: 3219
|
|
"Must"? and, "Directly"? or indirectly? It must extend Object or any other class. If it implements an interface only (like in an anonymous class), then it implicitly extends the class Object.
|
Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
|
 |
Dave Vick
Ranch Hand
Joined: May 10, 2001
Posts: 3244
|
|
shan Welcome to the Java Ranch, we hope you’ll enjoy visiting as a regular however, your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy. Thanks again and we hope to see you around the ranch!!
|
Dave
|
 |
 |
|
|
subject: What class must an inner class extend ?
|
|
|