Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can you take string into InputStream?

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


Please Help Members By Posting Answers For Below Questions

How does multithreading take place on a computer with a single cpu in java programming?

955


Is null == null in java?

1035


How many return statement are allowed in a function?

883


What is busy spin, and why should you use it?

1022


Difference between arraylist and vector.

1056


What are different type of exceptions in java?

913


How list contains works in java?

923


Write a program to print fibonacci series

1074


What do you understand by the term singleton?

941


Differentiate between static and non-static methods in java.

996


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

1338


Can constructor return value?

903


What is io stream in java?

971


What is maximum size of arraylist in java?

957


Explain about main() method in java ?

998