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
How to find the length and capacity of a string buffer ?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to find the length and capacity of a string buffer ?
Answer
# 1
By using length and capacity methods.


For this use JDK api we get complete details
 
Is This Answer Correct ?    0 Yes 1 No
Therathna
[Process It Solutions]
 
  Re: How to find the length and capacity of a string buffer ?
Answer
# 2
StringBuffer conatain  a method called length() to find out 
the length and capacity() to findout the capacity of 
stringbuffer.

ex:
StringBuffer buffer=null;
		buffer.length();
		buffer.capacity();
 
Is This Answer Correct ?    1 Yes 0 No
Vijayakumar Chinnasamy
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
heavy components means what?  4
How two different class threads communicate with each other?. send example code.  4
how to compile jsp? Logica-CMG3
what is meant by string pooling? Wipro6
How are this and super used?  6
What is an exception?  4
what is session facade ?  2
What is casting?  3
explain oops concepts with examples? TCS16
If a multi threaded Java program has started numerous number of threads, at any point in time how to know which thread is currently executing/running ? iFlex7
What is the is a and has a relation ship in oops concept in java? BearingPoint5
What is Connection pooling? Explain Pros and Cons?  1
What is object  6
What is singleton class?  6
Difference between abstract class and Interfaces? Sai-Softech5
How to transfer data from an Applet to Servlet ?  1
Can Applet have constructors?  3
After compilation of java program we'll get .class code. If it's generated in OS Windows XP will it work on OS Linux? If yes why? If no why? Aricent4
How to access a method that it declared as protected?  3
What is a compilation unit?  2
 
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