Java tutorial
import java.io.*; public class Main { public static void main(String[] args) { char[] s = { 'a', 'b', 'c' }; char[] c = { 'H', 'e', 'l', 'l', 'o' }; PrintStream ps = new PrintStream(System.out); // print char array ps.print(s); ps.print(c); // flush the stream ps.flush(); } }