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

Answer Posted / therathna

By using length and capacity methods.


For this use JDK api we get complete details

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by marker interface in java?

780


Explain inheritance in java?

798


What is the locale class in java programming?

771


What are the characteristics of Final,Finally and Finalize keywords.

951


What is hashing principle in java?

806


Why vector class is used?

739


What do you understand by a Static Variable?

914


Is break statement can be used as labels in java?

725


What is array and arraylist in java?

811


Can we assign null to double in java?

783


How can the checkbox class be used to create a radio button?

785


What is finalize() function in java?

776


How list contains works in java?

761


Can anonymous class have constructor?

803


Explain Basics of OOP Language in java

822