Programming

Java 11 Features — step-by-step Programming tutorial on Progressive Robot

Java 11 Features

URL: https://www.progressiverobot.com/java-11-features/ We haven't fully immersed ourselves in Java 10 yet, and Java 11 is here. Java 11 is important for more than just a few reasons. Oracle has revamped its support model and come up with a release train that'll bring rapid updates, about every 6 months. They've changed the licensing and support model […]

Read more
Java Array of ArrayList, ArrayList of Array — step-by-step Programming tutorial on Progressive Robot

Java Array of ArrayList, ArrayList of Array

URL: https://www.progressiverobot.com/java-array-of-arraylist-of-array/ Today we will learn how to create a Java array of ArrayList. We will also learn how to create an ArrayList of array elements. Java Array of ArrayList ![java array of arraylist, array of lists in java](images/java-array-of-arraylist-of-array-section-1.png) Creating array of [list in java](/community/tutorials/java-list) is not complex. Below is a simple program showing [java […]

Read more
Java create new file — step-by-step Programming tutorial on Progressive Robot

Java create new file

URL: https://www.progressiverobot.com/java-create-new-file/ Creating a file is a very common IO operation. Today we will look into different ways to create a file in java. Java create file ![java create file, java create new file](images/java-create-new-file-section-1.png) There are three popular methods to create file in java. Let's look at them one by one. ### File.createNewFile() java.io.File class […]

Read more
Java GZIP Example - Compress and Decompress File — step-by-step Programming tutorial on Progressive Robot

Java GZIP Example – Compress and Decompress File

URL: https://www.progressiverobot.com/java-gzip-example-compress-decompress-file/ Welcome to Java GZIP example. GZIP is one of the favorite tool to compress file in Unix systems. We can compress a single file in GZIP format but we can't compress and archive a directory using GZIP like ZIP files. Java GZIP ![GZIP, Java GZIP Example](images/java-gzip-example-compress-decompress-file-section-1.png) Here is a simple java GZIP example […]

Read more
Java read text file — step-by-step Programming tutorial on Progressive Robot

Java read text file

URL: https://www.progressiverobot.com/java-read-text-file/ There are many ways to read a text file in java. Let's look at java read text file different methods one by one. Java read text file ![java read file, java read text file](images/java-read-text-file-section-1.png) There are many ways to read a text file in java. A text file is made of characters, so […]

Read more
Java Stream collect() Method Examples — step-by-step Programming tutorial on Progressive Robot

Java Stream collect() Method Examples

URL: https://www.progressiverobot.com/java-stream-collect-method-examples/ Java Stream collect() performs a mutable reduction operation on the elements of the stream. This is a terminal operation. What is Mutable Reduction Operation? A mutable reduction operation process the stream elements and then accumulate it into a mutable result container. Once the elements are processed, a combining function merges all the result […]

Read more
Java ThreadLocal Example — step-by-step Programming tutorial on Progressive Robot

Java ThreadLocal Example

URL: https://www.progressiverobot.com/java-threadlocal-example/ Java ThreadLocal is used to create thread local variables. We know that all threads of an Object share it's variables, so the variable is not thread safe. We can use synchronization for thread safety but if we want to avoid synchronization, we can use ThreadLocal variables. Java ThreadLocal ![ThreadLocal, Java ThreadLocal](images/java-threadlocal-example-section-1.png) Every thread […]

Read more
JDBC Interview Questions and Answers — step-by-step Programming tutorial on Progressive Robot

JDBC Interview Questions and Answers

URL: https://www.progressiverobot.com/jdbc-interview-questions-and-answers/ Welcome to JDBC Interview Questions and Answers. JDBC API is used to connect to relational databases and run SQL queries from Java Programs. In the last few articles, we learned about JDBC API and its important features. This article is aimed to provide some of the important JDBC Interview Questions with Answers to […]

Read more
Linear Search Algorithm and Implementation in C — step-by-step Programming tutorial on Progressive Robot

Linear Search Algorithm and Implementation in C

URL: https://www.progressiverobot.com/linear-search-algorithm-c/ Linear Search is basically a sequential search algorithm. In this algorithm, the key element is searched in the given input [array](/community/tutorials/arrays-in-c) in sequential order. If the key element is found in the input array, it returns the element. Linear Search Algorithm Linear_Search ( Array X, Value i) Set j to 1 If j […]

Read more
CHAT