This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

collection Framework  RSS feed

 
siddu banjapally
Greenhorn
Posts: 13
Chrome Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the super class in java collection framework?
 
Mohamed Sanaulla
Bartender
Posts: 3169
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
siddu banjapally wrote:what is the super class in java collection framework?


Very abstract question. Is there some specific class/collection class you are looking at? The best solution would be to check out the java docs
 
Gamini Sirisena
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find this out from the java api

May be you can tell us what it is..
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15860
80
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is not one common superclass to all collection classes in the Java collection framework.
 
siddu banjapally
Greenhorn
Posts: 13
Chrome Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we say that abstract class as super class if our class extends ?


example:
class Hashmap extends AbstactMap{
// code
}

 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regardless of abstract, if a class A extends from class B, then class B is the super class of A.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15860
80
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
siddu banjapally wrote:class Hashmap extends AbstactMap {

This means that class AbstactMap is the superclass of class Hashmap. (Note that in the Java API, there is a class AbstractMap and a class HashMap).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!