Java Beginners Tutorial Place to find tutorial on Java Twitter Facebook LinkedIn Java Tutorial Here in Java Tutorial for beginners you will learn the fundamentals of Java. These sections also contain cheat-sheet for a quick review of what you have learned in a given topic. Java Tutorial Selenium Tutorial Selenium is a set of tools… Continue reading
Searched for ""
JavaScript Class
Class Class is an object oriented programming concept, in JavaScript it’s similar to a function. Classes are just a special functions added to the ES6. But they give you more power and flexibility by assigning properties to them. Constructor A special method that represents class. It is used to create and initialize the object created… Continue reading
How to use optional in java 8 streams
In this article we will learn how to use optional in java 8 streams. Optional is a container object which may or may not contain null value. Some of the most important methods in Optional’s are . So now lets look into the code on how to use optional in Java 8 stream. In this… Continue reading
Source Code Base
Java Java Date Format Java random number Java Write to File Java difference between two dates Create a table in Oracle Connect to Oracle DB in Eclipse Connect to MySQL DB Read File in Java using the scanner Read a File using BufferedInputStream Convert Boolean Object to Boolean Primitives Java Sort list of Integer or… Continue reading
Spring Boot 2 Actuator Endpoint
Here we will talk about the Spring Boot 2 Actuator Endpoints. I will cover below points in this article. At any point you can refer GITHUB repository for Spring Boot 2 Actuator. Enable & Expose Before we work with endpoint, we need to understand the difference between Exposed and Enabled Endpoint. In order to access… Continue reading
package javax.validation.constraints does not exist error in spring boot 2.3
If you are using validation constraints in your Spring Boot application and just migrated to Spring Boot 2.3. You will face an error saving “javax.validation.constraints does not exist“. It happened to me when I tried to migrate Spring-Boot application to JDK 14 and Spring Boot 2.3.
Design Multi-threaded Architecture
What is multi-threading? Multithreading is the ability of a program to perform multiple tasks concurrently. Multi-threading is a programming language term derived from a concept of multitasking. It is used when we want to divide our job into several independent parts. It allows the execution of multiple parts of a program at the same time…. Continue reading
10m. Advanced WebDriver β Running tests in headless mode
Letβs run some automated selenium tests in Firefox, without Firefox! π In other words, tests run in the background and there is no display (i.e. the browser UI is not displayed to the user).
Continue readingJava 14: instanceOf Pattern Matching
JDK prepares to use pattern matching in future versions. In JDK 12 pattern matching has been implemented in switch expression. And the same is being implemented to instanceOf in JDK 14 as a preview feature. In java program, instanceof include logic that combines testing if an expression has a certain type, and then conditionally extracting… Continue reading
9ac. WebDriver β Unable to locate an element easily? Read on…
The easy and best way to handle scenarios where there are no proper locators, is to introduce data-* attributes (custom data attributes) on HTML elements.
Continue reading