File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Is a class a subclass of itself? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Is a class a subclass of itself?" Watch "Is a class a subclass of itself?" New topic
Author

Is a class a subclass of itself?

rajsim
Ranch Hand

Joined: May 31, 2000
Posts: 116
In the Jaworski web site http://www.jaworski.com/java/certification/
Java 2 Programmer Exam Review Questions
I found the following question and answer
Q> Is a class a subclass of itself?
A> A class is a subclass of itself.
Is it true?
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Not according to the Java Language Specification. As usual though, different people may have their own definitions of terms which don't follow the JLS. I seriously doubt this particular point will come up on the exam; no one has mentioned it to my knowledge. Of course, that might just mean that no one thought it was worth commenting on, since the answer is fairly obvious IMO as long as you haven't read Jaworski.


"I'm not back." - Bill Harding, Twister
rajsim
Ranch Hand

Joined: May 31, 2000
Posts: 116
Thanks Jim,
Yes, it is obvious. That's why I was a little confused.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is a class a subclass of itself?
 
Similar Threads
Is the jaworski
developper certification!!!
Errata for Jaworski Guide
Java 2 Certification All-in-One Exam Guide, 3rd Edition
finally, passed..