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

What is the console in java?

1159


What is the purpose of methodology?

1080


Define iterator and methods in iterator?

968


What are the high-level thread states in java programming?

1056


What is the major advantage of external iteration over internal iteration?

1111


What is a treemap in java?

1012


What is Major and importance difference between for and foreach loop ?

1154


What is difference between static class and singleton pattern?

1027


What is a parameter used for?

963


What are the different access modifiers available in java?

1044


What is difference between static variable and global variable?

1065


Why is stringbuffer faster than string?

922


How does system arraycopy work in java?

1132


Why is it called buffering?

1125


Can we override static methods in java?

1070