Access over 20 million homework & study documents

search

Java collections

Content type
User Generated
Rating
Showing Page:
1/32

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/32

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/32

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 32 pages?
Access Now
Unformatted Attachment Preview
By Nancy 2015 | By Nancy | CONFIDENTIAL Objective-Day1(2 hour)       Collection Framework ArrayList class LinkedList class HashSet class LinkedHashSet class TreeSet class 2015 | By Nancy | CONFIDENTIAL What is collection?    A collection is a container. Collections are used to store, retrieve and manipulate data. Examples: such as  a poker hand (a collection of cards),  a mail folder (a collection of mails),  a telephone directory (a mapping of names to phone numbers). 2015 | By Nancy | CONFIDENTIAL What Is a Collections Framework?   A collections framework can be considered as a unified architecture used for representing and manipulating collections. Collection framework gives us various important classes and interfaces to collect and organize similar objects in a group. 2015 | By Nancy | CONFIDENTIAL Hierarchy 2015 | By Nancy | CONFIDENTIAL Hierarchy ArrayList class 2015 | By Nancy | CONFIDENTIAL ArrayList Class It uses dynamic array for elements.  It extends AbstractList class  It implements List interface.  It can hold duplicate elements.  It maintains insertion order.  It is non synchronized.  It allows random access  2015 | By Nancy | CONFIDENTIAL Non-generic Vs Generic   Generic collection allows you to have only one type of object in collection. Yes, It is type safe so now typecasting is not required at run time. //This is non-generic arraylist ArrayList arrList = new Ar ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
This is great! Exactly what I wanted.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4