aspose 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
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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: 18670
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Is a class a subclass of itself?
 
Similar Threads
Errata for Jaworski Guide
Is the jaworski
Java 2 Certification All-in-One Exam Guide, 3rd Edition
developper certification!!!
finally, passed..