Posts from Java

How to convert JSON array to normal Java Array Easily

By Saruque Ahamed Mollick

JSON data has become very much popular in the last few years. If you are a programmer or developer you know how much important is it to us. Even most of the API providers are now u.... Read More

What is the difference between constructor and method in Java

By Saruque Ahamed Mollick

To illustrate the difference between constructor and method in java we firstly, recommend you to read the basic of Constructor and Method in Java. If you know the basics then you m.... Read More

Java program to replace one string with another string

By Saruque Ahamed Mollick

In this Java tutorial, I’ll show you how to replace one string with another string in Java. This is probably the easiest Java program to replace one string with another strin.... Read More

How to read a specific line from a text file in Java

By Saruque Ahamed Mollick

In this Java tutorial, I will show you the easiest way to read a specific line from a text file in Java. There is not only a single number of way to do this. There are a lot of way.... Read More

Removing Element From LinkedList for Integer Type and String Type

By Saruque Ahamed Mollick

In this post, We are going to know an interesting fact of remove() method used in a LinkedList object. at the end of this lesson, we will learn how to remove an element without kno.... Read More

Working With LinkedList (Adding,Removing and Retrieving Elements) in Java

By Saruque Ahamed Mollick

In Java, LinkedList implements the list interface as well as Queue interface. Thus LinkedList is not same as ArrayList in Java as ArrayList implements the list interface only. In t.... Read More

Working with ArrayList in Java ( Adding,Removing elements)

By Saruque Ahamed Mollick

Working with ArrayList in Java is very useful, But we have to know how to add elements, remove elements and update or replace elements of an ArrayList so that we can work as per ou.... Read More

How to Modify Element or Elements of an ArrayList in Java

By Saruque Ahamed Mollick

While working with ArrayList in Java, You might have faced some problems like, suppose you got a huge number of elements in your ArrayList and you have to modify a particular eleme.... Read More