Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Super Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Super Class " Watch "Super Class " New topic
Author

Super Class

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
In J2SE, Object class is the super class of every class. Is it also the super class of all J2EE classes?
I guess it is not, but just want to confirm.


I am slow but sure
Srikanth Nutigattu
Ranch Hand

Joined: Oct 30, 2007
Posts: 114
In java Object is the TOP/ROOT/PARENT class for ALL java classes
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

@OP : is j2ee class not a java class ?
MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
Srikanth
Do you mean even HttpServlet class is also subclass of class Object right?
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

MaheshS Kumbhar wrote:Do you mean even HttpServlet class is also subclass of class Object right?


click on the HttpServlet string of your question
or
http://java.sun.com/javaee/6/docs/api/javax/servlet/http/HttpServlet.html
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3164
    
  47

JavaEE is not something miracle. The classes you found in JavaEE are just Java classes.
The rules/concepts you used for for JavaSE classes apply for any kind of class in any platform as well.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Super Class