import java.io.*; public class fileStreamTest { public static void main(String args[]) { try { byte bWrite [1 OutputStream os = new FileOutputStream("test.txt"); for (int x = 0; x


Run this program and show us the output


import java.io.*;<br>public class fileStreamTest {<br>public static void main(String args[]) {<br>try {<br>byte bWrite [1<br>OutputStream os = new FileOutputStream(

Extracted text: import java.io.*; public class fileStreamTest { public static void main(String args[]) { try { byte bWrite [1 OutputStream os = new FileOutputStream("test.txt"); for (int x = 0; x < bwrite.length="" ;="" x++)="" {="" os.="" write(="" bwrite[x]="" );="" {11,21,3,40,5};="" writes="" the="" bytes="" }="" os.close();="new" fileinputstream("test.txt");="" inputstream="" is="" int="" size="is.available();" for="" (int="" i="0;" i="">< size;="" i++)="" {="" system.out.print((char)is.read()="" +="" ");="" }="" is.close();="" }="" catch="" (ioexception="" e)="" {="" system.out.print("exception");="" }="" }="">

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here