Home

How To Read File Using BufferedReader In Java?

In this article, we will see how to read a file using the BufferedReader class in Java. BufferedReader class reads text from a character-input stream. Because of buffering characters, it provides an efficient way to read characters, arrays, and lines. BufferedReader provides two important methods to read from the file. i.e read() and readLin...

Read more

Hello World In Groovy

In this article, you will say ‘Hello’ to Groovy. We will see the installation and ‘the’ most important “Hello World!” program. 🙂 Apache Groovy is a powerful, optionally typed, and dynamic language. It integrates smoothly with any Java program. How To Install Groovy? There are many ways you can download and Install Groovy. On this day, Groovy...

Read more

How To Convert StringBuilder To String In Java?

In this article you will see, how to convert a StringBuilder to String in Java. Introduction Java StringBuilder is non-synchronized update of the StringBuffer class. Sometimes there is need to convert the StringBuilder object to the String. We can do it easily by smply invoking the toString() method. Let see the example program below. Java ...

Read more

How To Create UUID in Java?

In this article, you will see, how to create UUID in Java. Introduction UUID, a universally unique identifier is a 128-bit number used to identify information in computer systems. UUID is made of hex digits along with 4 hyphen (“-“) symbols. The length of a UUID is 36 characters. There are 5 types of UUID but mostly version 4 i.e. Randomly G...

Read more

Your Guide To UUID In Java

In this article, we will see, What is UUID? Java UUID class What is UUID? UUID, a universally unique identifier is a 128-bit number used to identify information in computer systems. UUID is made of hex digits along with 4 hyphen (“-“) symbols. The length of a UUID is 36 characters. There are 4 types of UUID Time-based UUID (Version...

Read more

How to convert String to int in Java?

In this article you are going to learn how one can convert the string to int using the inbuilt methods of the Integer class. Introduction We have learned many tutorials on the String class and seen the String operations are an important part of java programming. Sometimes we took some values as a String but we want to operate them as an int, t...

Read more

Difference Between StringBuffer and StringBuilder class

In this article, we are going to discuss the differences between the StringBuffer and StringBuilder class. And we will see why it StringBuilder is preferable to StringBuffer class.” Introduction The String class is one of the most important classes in Java. In every day to day coding in Java, we use string many times. We create a new string a...

Read more

8 Basic GIT Commands Every Newbie Developer Must Know

GIT is one of the most important parts of the developer’s day-to-day work. So learning GIT is a must for a newbie developer. In this article, you are going to learn the 8 most important basic GIT commands. Below, I have listed down all the 8 commands and then, we will have a look at them one by one. git init git clone git add git comm...

Read more