Hands-On Automation Testing with Java for Beginners
Rahul Shetty更新时间:2021-07-23 16:26:50
最新章节:Leave a review - let other readers know what you think封面
Title Page
Copyright and Credits
Hands-On Automation Testing with Java for Beginners
Packt Upsell
Why subscribe?
Packt.com
Contributors
About the author
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
First Programming Steps in Java
An introduction to Java and its installation
Working with the Java editor tools
Writing your first executable program in Java
Summary
Understanding Classes Objects and Their Usage in Java
Difference between strings and variables
Using methods
Importance of classes and objects in Java
Creating an object in Java
Accessing an object in Java
Accessing a method in a different class
Summary
Handling Strings and Their Functions in Java
Introducing strings
Defining the String literal
Creating an object of the String class
The String class and its methods
Reversing a string's logic
Summary
Building Blocks for Java Programs – Loops and Conditions
The for loop
if...else condition
Bringing the if...else condition in the for loop
The while loop
The do...while loop
Nested loops
Example 1
Example 2
Example 3
Summary
Everything You Need to Know About Interfaces and Inheritance
Interfaces
Using interfaces with a traffic light system
Inheritance
More on inheritance
Function overloading
Function overriding
Summary
Learn Everything about Arrays
Arrays and their usage in Java programs
Ways to initialize arrays and assign objects
Multidimensional arrays
Logic programming on multidimensional arrays
Practice exercises
Print the smallest number in a 3 x 3 matrix
Displaying the largest number from the column with the smallest number
Swapping variables with/without the temp variable
Summary
Understanding Date Class and Constructors in Java 11
The Date class
The Calendar class
Constructors
Parameterized constructors
Summary
Importance of the super and this Keywords and Exceptions in Java
The super keyword
Practical usage of the super keyword
Using the super keyword for methods
Using the super keyword for constructors
Importance of the this keyword
Different kinds of exception
The try...catch mechanism to handle exceptions
Importance of the finally block in Java
Summary
Understanding the Collections Framework
The collections framework
The List collection
The ArrayList class
Example of ArrayList
The Set collection
Using iterator
The Map collection
HashTable
Synchronized or thread-safe
Null keys and null values
Iterating values
Summary
The Importance of the final Keyword Packages and Modifiers
The final keyword
Packages
Modifiers in Java
default
public
private
protected
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
更新时间:2021-07-23 16:26:50