What do you want to save?
Add Code snippet
New code examples
-
Java 2021-11-14 04:06:17
how to check if a string contains only alphabets and space in java
class IsAlpha { public static boolean isAlpha(String s) { if (s == null) { return false; &nbs... Add solution -
Other 2021-09-30 01:19:03
Write a program to input a word from the user and remove the duplicate characters present in it.
// Java program to remove duplicate/repeated characters from a string www.getprogramcode.com import java.util.*; class RemoveDuplicate { public static void main(String args[]) { String s,ans=""; char ch ; int l,i=0; Scanner sc=new S... Add solution