Array Practice Final
import java.util.*;
public class ArrayPracticeFinal {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String s1 = sc.nextLine();
char c[] = s.toCharArray();
System.out.println(c);
char a[] = {'b', 'a'};
char b[] = {'b', 'e'};
char d[] = {'a', 'c', 'e'};
char e[] = {'b', 'd', 'f'};
String str = new String(a);
String str1 = new String(b);
String str2 = new String(d);
String str3 = new String(e);
System.out.println(str);
System.out.println(str1);
System.out.println(str2);
System.out.println(str3);
}
}