Write a java program for Array List Merging and Sorting
Write a code to read two int array lists of size 5 each as input and to merge the two ArrayList, sort the merged array
Write a code to read two int array lists of size 5 each as input and to merge the two ArrayList, sort the merged array
Write a program to read a string and a positive integer n as input and construct a string with first n and last n characters
Write a program to read a string and to test whether the first and last character is the same. The string is said to be
Write a program to read a string of even length and to fetch two middlemost characters from the input string and return it as string output.
Write a program to read a number, calculate the addition of squares of even digits (values) present in the given number. Also, we will see
Write a program to read a string of 10-digit numbers, and check whether the string contains a 10-digit number in the format XXX-XXX-XXXX where ‘X’