Core Java
-
Java XPath Examples
1. Introduction The previous article, Java XPath Best Practices Tutorial (https://examples.javacodegeeks.com/core-java/xpath-best-practices-tutorial/), explored how to set up a Java application to…
Read More » -
XPath Best Practices Tutorial
XPath is used to retrieve and interpret information represented in XML files. This tutorial assumes that the reader has a…
Read More » -
Selenium Chromedriver Tutorial
1. Introduction In this example set, we will be exhibiting the concept of Data Driven Testing (DDT) by passing multiple…
Read More » -
Lombok Utility and Scrapbook an eclipse feature
Today we are going to see couple of utility features which could ease coding and help you save some time.…
Read More » -
Java Nio Write File Example
With this example we are going to demonstrate how to use the Non-blocking I/O API, or NIO.2 API (NIO API) for…
Read More » -
Java 8 Anonymous Function Example
1. Introduction Java is an object Oriented Programming Language, and as such concepts like Encapsulation and Abstraction sits at the…
Read More » -
JAVA ActionEvent Example
1. Introduction An Action can be used to separate functionality and state from a component. For example, if you have…
Read More » -
Mockito Mock Database Connection Example
A unit test should test a class in isolation. Side effects from other classes or the system should be eliminated…
Read More » -
Java 8 Array to Stream Example
1. Introduction Official javadoc of java.util.stream.Stream states that it is “A sequence of elements supporting sequential and parallel aggregate operations”.…
Read More » -
Java Nio Read File Example
With this example we are going to demonstrate how to use the Non-blocking I/O API, or NIO.2 API (NIO API) for…
Read More »