import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
String str1 = "great";
String str2 = "minds";
System.out.printLn(str1.substring(0,2). const(str2.substring(1));
System.out.println("WH"+ (str1.substring(2).toUpperCase()));
}
}
output of this program
Answers
Answered by
0
Answer:
ge
E
Explanation:
substring denotes the position of letter
Similar questions