Title: Sun
Certified
Java Programmer 310-065-Lesson 23-Generics and Collections(ArrayList)-Part 3
Duration: 16 minutes
Summary: In this video, we discuss ArrayList. ArrayList is a dynamic array. We first start with an array that we use to populate the ArrayList. Then, we will print the contents, and see how we can clone an ArrayList. We try to remove elements from the ArrayList and sort them. Finally, we use the binarySearch functionality to search for elements in the array. BinarySearch requires that the collection be sorted first. This search algorithm is very fast since it splits the array in two every time it searches.
Methodology of the development of
example: Good coding standard and simplified design to prepare for the Java
programmer certification exam CX-310-065.
Technology Used: Java - Core Concepts.
Keywords: Class, Object, printf, sort, Arrays, remove, indexof, size, ArrayList, clone, String.












Post stats:
See the prices for this post in Mr.Bool Credits System below: