Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to find the length and capacity of a string buffer ?

Answer Posted / vijayakumar chinnasamy

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 ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are synchronized methods and synchronized statements in java programming?

1071


What is comparable and comparator interface? List their differences

1153


Difference between static binding and dynamic binding?

1184


What is arrays aslist in java?

996


Does list allow duplicates in java?

983


Explain the importance of finally over return statement?

1116


What is a class object?

1016


Explain java coding standards for variables ?

1224


why would you use a synchronized block vs. Synchronized method? : Java thread

999


How many inner classes can a class have?

1090


What is the maximum length of a url?

1021


What is a predicate method?

1064


What is a class reference?

1173


What is functional interface in java?

1095


When is finally block not called?

1148