Posts by Shiksha Sinha

Author Biographical Info: Not available

How to convert a map to a string in Java

By Shiksha Sinha

In this tutorial, we will learn how to convert a map to a string in Java. In Java, map is a collection where every map element contains key pairs. It means every key has one value .... Read More

How to add a newline character to a string in Java

By Shiksha Sinha

In this tutorial, we will learn how to add a newline character to a string in Java. Java language provides enormous features to make our tasks much easier. Strings in java also inc.... Read More

Remove the Last Character from String in Java

By Shiksha Sinha

In this tutorial, we will learn to remove the last character from String in Java in different ways. Java Class Library(JCL) contains a class called String which is available under .... Read More

Initialize an array with same values in Java – Multiple ways

By Shiksha Sinha

In this tutorial, we will learn how to initialize an array with the same values in Java. An array, in Java, is an object of a similar data type that will contain data elements in a.... Read More

Java Math random() method

By Shiksha Sinha

In this tutorial, we will learn everything about Java Math random() method. Java includes various library methods. The library methods or functions are the in-built methods provide.... Read More

Create Immutable class in Java

By Shiksha Sinha

In this tutorial, we are going to learn how to create immutable classes in Java. Java provides us with a lot of advantageous features to make our tasks easier and more convenient t.... Read More

Java stream forEach with index

By Shiksha Sinha

In this tutorial, we will learn about how to iterate over a Java stream with the index. We can do this in different ways, using Intstream, AtomicInteger. etc. Here we will learn it.... Read More

How to convert string to date in Java

By Shiksha Sinha

In this tutorial, we will learn how to convert a string to date in Java. There are many ways in which we can convert a string into a date in Java using different classes. Here we a.... Read More

Related Posts