2d Arraylist java example

In this post, we will see how to create 2d Arraylist in java. Best way to create 2d Arraylist is to create list of list in java. Let’s create a program to implement 2d …

Java isNumeric method

In this post, we will see how to implement isNumeric method in java. There are many way to check if String is numeric or not. Let’s see one by one. Table of ContentsUsing regular expressionsUsing …

Convert char to lowercase java

You can use Character class’s toLowerCase method to convert char to lowercase in java. Method signature Parameters ch is primitive character type. Return type return type is char. If char is already lowercase then …

Convert char to uppercase java

You can use Charater class’s touppercase method to convert char to uppercase in java. Method signature Parameters ch is primitive character type. Return type return type is char. If char is already uppercase then …

Java isletter method

Character class’s isletter method can be used to check if character is letter or not. Method signature Parameters ch is primitive character type. Return type boolean is primitive character type. When you run …