ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is the difference between DataInputStream and 
BufferedReader
 Question Submitted By :: Noor
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between DataInputStream and BufferedReader
Answer
# 1
An important difference between the ...Stream classes and 
the ...Reader/...Writer classes is that streams work with 
binary data (in other words, raw bytes), while readers and 
writers work with character data. In going from one to the 
other there's always an encoding or decoding of data 
involved. 

The en-/decoding step can't be done in a meaningful way 
unless one knows what encoding was used. Common encodings 
are US-ASCII, UTF-8 and other Unicode variants, MacRoman, 
ISO-8859-1 and CP1252. Furthermore, each platform (Windows, 
Linux, OS X, ...) has its own default encoding, so if no 
encoding is specified, the JVM will choose one - which may 
well be the wrong one.
 
Is This Answer Correct ?    1 Yes 0 No
Rama
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is Dictionary? and what purpose it is used for?  2
when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service Accenture2
what is Portal(web based online portal)? AIG1
How will you convert an ArrayList to Arrays? KPIT3
I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?  4
why String class is immutable. iGate3
explain oops concepts with examples? TCS16
What is the difference between error and exception and explain in simple words not whatever is given in the book.  6
what is j2se  3
using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.  3
What is file class and what is its purpose?  1
What is the life cycle of an Applet ?  1
We can write any Java Logics in our JSP. Then why we are using servlets(Controller Layer) to interact with the DAO ? TCS2
In which JDK version event-delegation model is introduced?  1
Can a double value be cast to a byte?  3
Can an exception be rethrown? Wipro4
what is the difference between the "protected and default" modifiers?  4
How the elements are organized in BorderLayout?  4
What is encapsulation? Elaborate with example? BMC1
how cani read a command line argument?(usingfile object).  3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com