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

1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession

1 Answers  


What is the difference between Process and Threads?

19 Answers  


How to implement RMI in Java?

0 Answers   TCS,


How to add new JTabbed pane?

1 Answers  


diff between jsp include directive and jsp action include?

4 Answers   SolutionNET,






JMS based on what technology?

1 Answers  


what is diff between Access modifier and specifier?

5 Answers   L&T,


What is the difference between a static and a non-static inner class?

0 Answers  


what about static?

1 Answers  


What is runnable?

2 Answers  


What restrictions are placed on the location of a package statement within a source code file?

0 Answers  


Will the general public have access to the infobus apis?

0 Answers  


Categories