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
What is the console in java?
What is the purpose of methodology?
Define iterator and methods in iterator?
What are the high-level thread states in java programming?
What is the major advantage of external iteration over internal iteration?
What is a treemap in java?
What is Major and importance difference between for and foreach loop ?
What is difference between static class and singleton pattern?
What is a parameter used for?
What are the different access modifiers available in java?
What is difference between static variable and global variable?
Why is stringbuffer faster than string?
How does system arraycopy work in java?
Why is it called buffering?
Can we override static methods in java?