| Author |
collection Framework
|
siddu banjapally
Greenhorn
Joined: Aug 16, 2011
Posts: 13
|
|
what is the super class in java collection framework?
|
 |
Mohamed Sanaulla
Bartender
Joined: Sep 08, 2007
Posts: 2925
|
|
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
|
Mohamed Sanaulla | My Blog
|
 |
Gamini Sirisena
Ranch Hand
Joined: Aug 05, 2008
Posts: 347
|
|
You can find this out from the java api
May be you can tell us what it is..
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
|
There is not one common superclass to all collection classes in the Java collection framework.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
siddu banjapally
Greenhorn
Joined: Aug 16, 2011
Posts: 13
|
|
can we say that abstract class as super class if our class extends ?
example:
class Hashmap extends AbstactMap{
// code
}
|
 |
John Jai
Bartender
Joined: May 31, 2011
Posts: 1776
|
|
|
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
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
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).
|
 |
 |
|
|
subject: collection Framework
|
|
|