import java.io.IOException;
public class JavaApplication {
public static void main(String[] args) throws IOException {
try {
String s1 = "java";
String s2 = "c++";
String value = String.format("%s %s", s1, s2);
System.out.println(value);
} catch (Exception e) {
System.out.print(e.toString());
}
}
}
/*
run:
java c++
*/