In this article we’ll see a program to mixup characters of 2 string in JAVA.
Input Consider a two strings as Good and Day.
Code public class StringMixup { public static void main(String[] args) { String str1 = "Good", str2 = "Day"; int i = 0, str1Length = str1.