What is Stream and Types?

Answers were Sorted based on User's Feedback



What is Stream and Types?..

Answer / 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

What is Stream and Types?..

Answer / sameer

stream is a sequence of data items.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

difference between sql exception class and sql warning class

1 Answers  


How to send a request to garbage collector?

3 Answers  


What are local interfaces? Describe.

0 Answers  


what do u mean by java bean??

2 Answers   ADP,


What is the diffrence between a local-tx-datasource and a xa-datasource?

0 Answers  






What is the difference between the font and fontmetrics classes?

0 Answers  


For an example, if we have some variable in run method, and we created one or more threads. Does all threads will share the same variable or a copy of variable is created for each thread??

1 Answers  


How do you iterate in Hashmap?

1 Answers   HCL, Infotech,


In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another client is making request how it will work

3 Answers  


What are the different types of exception?

0 Answers  


What are the oops concept?

0 Answers  


Can I import same package/class twice? Will the jvm load the package twice at runtime?

0 Answers  


Categories