Title: Sun Certified Java Programmer 310-065-Lesson 30-Generics and Collections (HashMap with generics types)-Part 10
Duration: 17 minutes
Summary: In this video, we will implement a more applicable example of using a HashMap with generics types (a map of String and Integer). In this example, we will read a string from the user, split it using spaces, and adding the words into the map. We will add them in a way, that the map will keep track of the count of the words used in the string. Finally, we display the content of the map on the screen.
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, toString(), HashMap, Map, String, Integer, toUpperCase(), containsKey(), keyset(), get(), split(), Scanner.












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