Java program to demonstrate String conversions to Character Array and Byte Array