Answer Posted / sudhakar p
Step 1: Convert String to byte array
Step 2: Create a ByteArrayInputStream passing bytes[] to to
the contructor
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How does multithreading take place on a computer with a single cpu in java programming?
Is null == null in java?
How many return statement are allowed in a function?
What is busy spin, and why should you use it?
Difference between arraylist and vector.
What are different type of exceptions in java?
How list contains works in java?
Write a program to print fibonacci series
What do you understand by the term singleton?
Differentiate between static and non-static methods in java.
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
Can constructor return value?
What is io stream in java?
What is maximum size of arraylist in java?
Explain about main() method in java ?