File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Mock Exam Errata and the fly likes John Hunt Q.30 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Mock Exam Errata
Reply Bookmark "John Hunt Q.30" Watch "John Hunt Q.30" New topic
Author

John Hunt Q.30

bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
This is taken from John Hunt's Mock exam at http://www.javaranch.com/maha/_Mock_Exams/JohnJuntMockExam.htm
Q. 30
What class must an inner class extend:
A.The top level class
B.The Object class
C.Any class or interface
D.It must extend an interface
His answer is C, but correct me if I am wrong I think the question should read, What class must an anonymous inner class extend, not just an inner class.
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
I thought he mean "What class CAN an inner class extends?"
sachin duggal
Greenhorn

Joined: Nov 27, 2000
Posts: 2
Yes I think the question should be
"What class CAN an inner class extend"
 
IntelliJ Java IDE
 
subject: John Hunt Q.30
 
Threads others viewed
John Hunt Mock Exam: Q34
John Hunt Q62
John Hunt exam #30
Where will I get John Hunt's Latest Mock Exam
John Hunt mock exam Q 14
MyEclipse, The Clear Choice