What is Stream and Types?

Answer Posted / ram nidadavolu

A stream is a sequence of data
General Types of Streams...
1.ByteStream-console input
read()- one character
readLine()- one string
2.characterstream- File
FileInputStream - store the content to the file.
FileOutputStream - Get the content from the file.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is jvm a overhead?

613


which book is better for jdbc ,servlets and jsp

1636


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

570


Why is string immutable in java?

570


what are the advantages of JTA over JTS?

1661






What if the static modifier is removed from the signature of the main method?

692


Do you think that java should have had pointers?

590


Can constructors be synchronized in java?

607


What is the difference between the session.get() method and the session.load() method?

591


the same information whether it will connect to the database or it will be used previous information?

560


Difference between DurableSubscription and non- DurableSubscription?

1703


What are the pros and cons of detached objects?

541


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

562


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2147


Describe activation process?

2048