Posts by Shubham Kumar

Author Biographical Info: Not available

How to insert double quotes into a string in Java

By Shubham Kumar

In this tutorial, you will see how to insert double quotes into a string in Java. Sometimes you need to print those statements in a program where you may have double quotes printed.... Read More

How to find the longest line in a text file in Java

By Shubham Kumar

In this tutorial, we are going to witness how to find the longest line in a text file in Java. If you don’t know how to do it then, you are in the right place to know your pr.... Read More

Count Number Of Occurrences Of A Word In A Text File In Java

By Shubham Kumar

In this tutorial, we are going to figure out how many times a word is repeated in the text file using a map interface method through a Java program. If you don’t know how to .... Read More

Get Extension Of File In Java

By Shubham Kumar

In this tutorial, we will learn or figure out how to get the extension of any file through the Java program easily. In Java, there is no built-in API to find the extension of a fil.... Read More

How to Generate Array Of Random Numbers In Java

By Shubham Kumar

In this instructional exercise, we will learn how to generate the array of random numbers in Java using simple java code. If you don’t know how to generate random numbers, th.... Read More

How To Detect Operating System In Java

By Shubham Kumar

In this instructional exercise, you will learn about how to detect which type of operating system you are using in your system in Java. In the event, if you don’t know how to.... Read More

How To Hide A File In Java

By Shubham Kumar

In this tutorial, we will be discussing on how to hide a file in Java through an easy and simple program. We will also show if the file is hidden or not. The reason a few records a.... Read More

How to Generate Anagrams in Java

By Shubham Kumar

In this instructional exercise, we will find how to generate anagrams of a string in Java.  We can also say that we will write a Java program to print all permutations of a given .... Read More