❮ Previous Next ❯

Why WE Need Collection

Note:

An array is an indexed collection of fixed no. of homogeneous data items.

The main advantage of array is we can represent multiple values within a single variable, so that the readability of the code is improved.

Limitations of array:

Introduction To Collection:

List:

Properties:

Some methods in List interface:

add(Object o);
add(null);
add(int index, Object o);
add(int index, Collection c);
remove(int index);
indexOf("Object o");
set(int index, Object o); // replacement
❮ Previous Next ❯



  Tutorials

Popular Links

Contact Us

address Plot No-741,2ND Floor
Opp. Bhagabati Temple,Jayadev Vihar
      Bhubaneswar-751013
      Email: info@silantechnology.com
      Phone: 0674-2361252
address
39877, sundale dr, apt#101, Fremont, California 94538, USA
       Phone: +1(262)388-7619

facebook twitter google linked in

© 2018 Silan Technology. All Rights Reserved