Core java Archive

Caesar Cipher in Java

In this post, we will see about Caesar Cipher in Java. In cryptography, we used to study different algorithms or techniques to encrypt and decrypt a different sets of messages to gain confidentiality, integrity or …

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. Using regular expressions You can …

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 …