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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   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 mean by String and StringBuffer?
What is mean by Methooverriding and Overloading?
 Question Submitted By :: Ravi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?
Answer
# 1
String is a final class which represents a character
string,string are constant they value cannot be changed
after they r created
its is final class Stringbuffer,Stringbuffer implemets
muttable String character,its is like a string but can be
modified, the length and content can be changed during
method call
 
Is This Answer Correct ?    2 Yes 0 No
Ravi
 
  Re: what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?
Answer
# 2
What Ravi said is correct in string and string buffer. 
method overriding is same method available in both base or 
super class and in drived class.  At that time we say this 
is over riding. method over loading is same method with 
different signurate and different parameter.

Method over riding ===base class and drived class
Method overloading === same class
 
Is This Answer Correct ?    2 Yes 0 No
R Maria Ruban Raj
 
 
 
  Re: what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?
Answer
# 3
When you create a string object, you are creating a string
that cannot be changed. this once a string object has been
created, you cannot change the character that comprise that
string. at first that may seem to be a serious restriction.
However, such is not the case. You can still perform all
types of string operations. The difference is that each time
you need an altered version of existing string,a new string
object is create that contains the modifications. The
original string is left unchanged. this approach is used
because fixed, immutable strings can be implemented more
efficiently than changeable ones. For those cases in which a
modification string is desired, Java provides two options:
StringBuffer and StringBuilder Both hold strings that can be
modified after they are created
 
Is This Answer Correct ?    0 Yes 0 No
Raja Papaiah. M
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is the difference between HashMap And HashTable? Hexaware3
What is the return type of read()?  2
What is the method used to get the absolute value of a number?  2
what is Dictionary? and what purpose it is used for?  2
why the primitive data type have classes?  2
what is session facade ?  2
What is the difference between overloading and overriding a function? Infosys7
Explain class A{} class B{} class C{} all the three classes are saved in a single file name, what the name should i provide to the file ,in what file name should i run the program? Ple Explain DNS6
What is Transient and volatile iFlex9
Relationship between an event-listener interface and an event-adapter class?  1
Why we need to serialize the object Geometric-Software9
Howmany address lines are required to addressing 1 MB memory?  2
What is the difference between set and list?  3
Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.  3
What is difference between Eclips and MyEclips?  2
How do you set security in applets? Wipro1
How can you sort dates? TCS1
can we Connect Applet to Data Base ? with Discriptiom. and also What is Diff. from Applet & Servlet? Systematix1
Are nested try statements are possible?  2
How to sort the elements in HashMap Ness-Technologies3
 
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