Posts by Esmail Rahmani

Author Biographical Info: Not available

Convert RGB to binary image in Java

By Esmail Rahmani

In this tutorial, we will learn how to convert RGB to a binary image (black and withe image) in Java programming language. A binary image consists of only black and white in color..... Read More

Atomic variables in Java

By Esmail Rahmani

In this tutorial, we will learn what is the atomic variable, how to use it in Java. When we use one variable in many threads and those threads use that variable concurrency in this.... Read More

How to use transient keyword in Java with example

By Esmail Rahmani

In this article, we will learn what is the transient keyword and how to use it in Java. Also, we will try to understand why we use it. What is the transient keyword? Transient is a.... Read More

Java Annotations Tutorial

By Esmail Rahmani

In this tutorial, we will learn what is annotations, how to use it in Java and how to create your own custom annotation. Annotation is a kind of information to provide data from a .... Read More

Check if a string is empty or null or not in Java

By Esmail Rahmani

In this tutorial, we will learn how to check if a string is empty or null or not in Java. We call string is empty when it has length zero or have value  “”   it mean.... Read More

Java String endsWith() Method

By Esmail Rahmani

In this topic, we will learn how to use endsWith(String suffix) method in Java program. this method is under java.lang package and it exists in String class. This method uses to ch.... Read More

how to add a char to a string in Java

By Esmail Rahmani

In this topic, we will learn how to add a char to the beginning, middle and end of a string in Java. for insert, a char at the beginning and end of the string the simplest way is u.... Read More