Answer the following questions based on javaexceptionand java text and binary I/Os:
Question:
Suppose that you are implementing a program to write a string “সিএিই-110” in a binary file. Java provides you three different methods –writeBytes(String),writeChars(String), andwriteUTF(String).Howmany bytes will be written by each of those method for the give string?Whyshould not you consider thewriteBytes(String)method in this case?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here