Brief description  about Online courses   join in Online courses
View Gokilapriya  S 's Profile

IO/console output

In this me given a array to print using write method instead of system.out.println();
I can't able print the array elemnts. It results nothing it compiles and executes but no output.
please anyone clarify my doubt
Asked by Gokilapriya S | Sep 23, 2017 |  Reply now
Replies (1)
View arun kumar das 's Profile

The str) method writes a string.

If an I/O error occurs, take characters instead of numbers and call write() method.

int[] arr = new int[2];
arr[0] = 'S';
arr[1] = 'I';


Check this out.

Sep 25, 2017