In this chapter, we had a look at the collections framework and the three types of collection: List, Set, and Map. We explored ArrayList in the List collection, and also explored an example of ArrayList. The Set collection is different from ArrayList—the major difference is that Set does not accept duplicate values. In the last collection, that is, the Map collection, we saw two types, HashMap and HashTable, and the differences between the two.
-
Book Overview & Buying
-
Table Of Contents
Hands-On Automation Testing with Java for Beginners
Hands-On Automation Testing with Java for Beginners
Overview of this book
Java is one of the most commonly-used software languages by programmers and developers. Are you from a non-technical background and looking to master Java for your automation needs? Then Hands-On Automation Testing with Java for Beginners is for you.
This book provides you with efficient techniques to effectively handle Java-related automation projects. You will learn how to handle strings and their functions in Java. As you make your way through the book, you will get to grips with classes and objects, along with their uses. In the concluding chapters, you will learn about the importance of inheritance and exceptions with practical examples.
By the end of this book, you will have gained comprehensive knowledge of Java.
Table of Contents (12 chapters)
Preface
First Programming Steps in Java
Understanding Classes, Objects, and Their Usage in Java
Handling Strings and Their Functions in Java
Building Blocks for Java Programs – Loops and Conditions
Everything You Need to Know About Interfaces and Inheritance
Learn Everything about Arrays
Understanding Date Class and Constructors in Java 11
Importance of the super and this Keywords and Exceptions in Java
Understanding the Collections Framework
The Importance of the final Keyword, Packages, and Modifiers
Other Books You May Enjoy