Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Super Class

 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Srikanth Nutigattu
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In java Object is the TOP/ROOT/PARENT class for ALL java classes
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@OP : is j2ee class not a java class ?
 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Srikanth
Do you mean even HttpServlet class is also subclass of class Object right?
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4682
331
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic