ByteArrayInputStream
import java.io.*; class ByteArrayInputStreamDemo { public static void main(String [] args) throws IOException { byte data[]=”Here is a String”.getBytes(); ByteArrayInputStream in = new ByteArrayInputStream(data); int ch; while((ch = in.read()) !=-1) { System.out.println(ch+ ” “); System.out.println((char)ch+” “); } } }import java.io.*; class ByteArrayInputStreamDemo { public static void main(String [] args) throws IOException { byte data[]=”Here is a String”.getBytes(); ByteArrayInputStream in = ...