Write a Java program to find unique characters in a String
Write a program that takes a string and returns the number of unique characters in the string. If the given string does not contain any
Write a program that takes a string and returns the number of unique characters in the string. If the given string does not contain any
Write a program to read a string and find the length of the largest chunk in the string. If there is no chunk print “No chunks”
Write Java code to count the number of characters that get repeated 3 times consecutively and return that count (ignore case). Get a string as
Write code to find out the average of all values whose keys are even numbers. Round the average to two decimal places and return as
Write a program to input a String and swap every 2 characters in the string. If the size is an odd number then keep the
Write a program to input a string and a character, and remove that character from the given String. Print the final string. Input and Output
Write a program to input a person’s name in the format “FirstName LastName” and return the person’s name in the following format – “LastName, InitialOfFirstName”.
Write java code to count the common and unique letters in the two strings. If a character appears more than once in the 1st string.
Write a program to read a file name as a string and find out the file extension and return it as output. For example, the
Write a java code to get two date strings as input and write code to find the difference between two dates in days. The return type