File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Super Class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2691
    
    3

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 (Download) - the free mock exam kit for SCJP / OCPJP
Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
 
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: Super Class
 
Similar Threads
Overloaded Constructor Not Working - Cannot Find Symbol
exception handling
can non-static inner class access any member
init blocks problem
Avoiding the "call to super must be first statement in constructor" message