ALLInterview.com :: Home Page            
 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   SiteMap shows list of All Categories in this site.
Google
   
 
Categories  >>  Software  >>  Java Related  >>  Java J2EE  >>  Core Java
 
 


 

 
 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 Byte stream and Charecter 
Stream?
 Question Submitted By :: Suresh Royal
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between Byte stream and Charecter Stream?
Answer
# 1
ByteStream CharacterStream
1.It supports to read 1.It supports to read and
and write the data in form write the data in the form
of bytes. of characters.
2.It SUPPORTS data which is 2.It supports equivalent to 2
1Byte equivalent bytes
3.Supports ASCII formats 3.Supports unicode set
 
Is This Answer Correct ?    5 Yes 0 No
Chandu
 
  Re: What is the difference between Byte stream and Charecter Stream?
Answer
# 2
BYTE SUPPORTS data which is
1Byte equivalent

CHAR supports equivalent to 2 bytes
 
Is This Answer Correct ?    0 Yes 0 No
Avinash
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is the difference between Integer and int? Infosys10
public class AboutStrings{ public static void main(String args[]){ String s1="hello"; String s2="hel"; String s3="lo"; String s4=s2+s3; //to know the hash codes of s1,s4. System.out.println(s1.hashCode()); System.out.println(s4.hashCode()); // these two s1 and s4 are having same hashcodes. if(s1==s4){ System.out.println("s1 and s4 are same."); }else System.out.println("s1 and s4 are not same."); } } Somebody told me that, == operator compares references of the objects. In the above example even though s1 and s4 are refering to same object(having same hash codes), it is printing s1 and s4 are not same. Can anybody explain in detail why it is behaving like this? Thanks in Advance RavuriVinod TCS4
What is a default package ?  7
What is the use of ?this??  4
printstream class method println() is calling using System class and its static object out .how it is explain any one in detail with example ? TCS1
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).  3
there are some duplicate values in ArrayList, how U'll get that array with out duplicate? CMC3
What is the life cycle of Thread ? HCL12
How many objects are created for a singleton class Ness-Technologies7
what is object deep copy and shallow copy and why it is required?  2
how many design pattern r there? and wht design pattern u use and why ? HP5
heavy components means what?  4
 
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 © 2012  ALLInterview.com.  All Rights Reserved.

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