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
Explain java coding standards for interfaces?
What is difference between static variable and global variable?
Why we do exception handling in java and how many types of exceptions are there?
Differentiate between overriding and overloading cases?
What is java argument list?
Can you write a java class that could be used both as an applet as well as an application?
Explain jdk, jre and jvm?
What is the simpletimezone class in java programming?
What is the benefit of singleton pattern?
Explain about anonymous inner classes in java?
What does a void function return?
Explain what access modifiers can be used for methods?
Why declare Main() method as a static in java ?
What is character in data type?
What are the advantages of java inner classes?