wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes collection Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "collection Framework" Watch "collection Framework" New topic
Author

collection Framework

siddu banjapally
Greenhorn

Joined: Aug 16, 2011
Posts: 13

what is the super class in java collection framework?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

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).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: collection Framework
 
Similar Threads
What is difference between Design Pattern and FrameWork ?
util package
interface question
scjp 5.0 cleared
Trees