
Java – String matches() method
In this article, we will discuss matches() method of String class which is used to compare invoking string with the specified regex 1. String’s matches() method: This Read More
In this article, we will discuss matches() method of String class which is used to compare invoking string with the specified regex 1. String’s matches() method: This Read More
In this article, we will discuss how to get length of the String using String’s length() method 1. String’s length() method: This String method is Read More
In this article, we will discuss different variants of last index of methods to get last occurrence of character/substring using String’s lastIndexOf() method 1. String’s Read More
In this article, we will discuss how to join all strings using delimiter specified in the String’s join() method 1. String’s join() method: This String Read More
In this article, we will discuss how to check whether string is empty or NOT using String’s isEmpty() method 1. String’s isEmpty() method: This String Read More
In this article, we will discuss intern() method of String class which is used to return interned string 1. String’s intern() method: This String method is used Read More
In this article, we will discuss how to convert List into Map in Java 8 Already, in the last article we have discussed how to Read More
In this article, we will discuss how to convert List into Map in Java 1. List v/s Map: Before starting with List to Map conversion, Read More
In this article, we will discuss how to convert Map into List in Java 1.8 version Conversion of Map to List in Java 8 : Read More
In this article, we will discuss how to convert Map into List in Java As Map contains key-value pairs which is called as Map entries, Read More
In this article, we will discuss how to convert Arrays into List in Java 8 using Streams class Conversion of Arrays to List : Until Read More
In this article, we will discuss various ways to remove duplicate elements from Arrays in Java i.e.; Ways to remove duplicate elements from Arrays: Using Read More
In this article, we will discuss how to remove duplicate elements from ArrayList in Java Already, we have discussed in one of the earlier article Read More
In this article, we will count and print number of repeated character occurrences in a String i.e.; 1. Counting & printing in a String : Number Read More
In this article, we will count and print number of repeated word occurrences in a String i.e.; 1. Counting & printing in a String : Number Read More
In this article, we will count and print number of words and lines in a text file i.e.; 1. Counting & printing from text file: Number Read More
In this article, we will discuss various ways to reverse a String in Java i.e.; 1. Various ways to reverse String contents: reverse() method of StringBuffer/StringBuilder Read More
In this article, we will discuss various ways to iterate through Arrays in Java i.e.; Various ways to iterate through Arrays: Standard/traditional/regular for-loop Enhanced for-loop or Read More
In this article, we will discuss how to sort contents of ArrayList using sort() method of List in Java 8 Until Java 1.7 version: To Read More
In this article, we will learn and list down the steps to connect MS Access database in Java 8 and finally executing a simple query Read More