Home » Archives for Rajagopal ParthaSarathi

Author Archives: Rajagopal ParthaSarathi

Rajagopal works in software industry solving enterprise-scale problems for customers across geographies specializing in open source distributed platforms. He currently holds masters in computer science with focus on cloud computing from Illinois Institute of Technology. His current interests include but not limited to machine learning and big data engineering.

Selenium Java Introduction

This article its a Selenium tutorial that explains how to run selenium tests in Java language. 1. What is selenium Selenium is used to automate browsers. Selenium supports various programming languages such as C#, Haskell, Java, JavaScript, Python, and Ruby through Selenium drivers. It supports various browsers such as Chrome, Firefox, Safari, Opera, and Internet Explorer. 2. When is selenium ...

Read More »

Sorting Algorithms Java Tutorial

In this tutorial, we will look at various sorting algorithms and their corresponding implementations in Java. Table Of Contents 1. What is Sorting 2. Complexity 3. Sorting Algorithms 3.1. Bubble Sort 3.2. Selection Sort 3.3. Insertion Sort 3.4. Quick Sort 3.5. Merge Sort 3.6. Heap Sort 3.7. Counting Sort 3.8. Summary 4. Download the Source Code 1. What is Sorting ...

Read More »

ArrayList to Array Java Example

In this tutorial, we will look at various ways of creating an array from Arraylist in Java and we will discuss the efficient approach for it. 1. ArrayList to Array in Java The first step for our example is to create an ArrayList List numbers = new ArrayList(); final int endRange = 100000000; IntStream.range(0, endRange).forEach(value -> { numbers.add(value + 1); ...

Read More »

Java String Methods from Java 8 to Java 14

In this article, we will look at the new string methods added to the Java API from versions 8 to 14. 1. Java String Methods – Java 8 The newly added method in Java 8 is join for joining up the various strings. Let us see the methods with an example: public class StringDemo { public static void main(String[] args) ...

Read More »

Overloading Java Methods Example

In this post, we feature a comprehensive article on Overloading Java Methods. Overloaded methods are methods with the same name signature but either a different number of parameters or different types in the parameter list. It is similar to constructor overloading, that allows a class to have more than one constructor having different argument lists. Method overloading is an example ...

Read More »

Printstream Java Example

This article is a quick introduction to the Printstream Java class available as part of Java ecosystem. 1. Introduction Stream refers to data essentially bytes at lowest level. To read and process data from a source, the data needs to be saved. Outputstream is the means to save the data to a sink. Outputstream is the superclass of all classes ...

Read More »

Java Tic Tac Toe Program

This post is about creating a simple elegant Java Tic Tac Toe game, with ability to play human vs human and computer vs human. We will build the game incrementally with each feature added to the design. 1. Java Tic Tac Toe: Introduction This entire program requires only Java and apart from it does not require any library etc. Listed ...

Read More »

Spring Batch Introduction Example

In this post, we feature a comprehensive a Spring Batch Introduction article. Many enterprise applications need bulk processing to perform many business operations. These business operations typically include time-based events or complex business rules across very large data sets. Batch processing is used to handle these workloads efficiently. In this post, We will look at Spring Batch as a solution ...

Read More »

Selenium Name Locator Example

In this post, we feature a comprehensive Selenium Name Locator Example in Automation Scripts. 1. Introduction Selenium is used to automate browsers. Selenium WebDriver has found its place in test automation for web applications. It is used to create robust, browser-based regression automation suites and tests. It can be used for end to end testing of an application. This ensures ...

Read More »

Java Date Format Example

In this article, we will check the options available on Java Date Format. 1. Introduction Java has multiple packages providing various utility functions to make developer’s job easier. One such is the java.text package which includes utility classes for parsing and formatting numbers and dates, along with utility classes for building other kinds of parsers. The java.text.DateFormatclass and its concrete ...

Read More »