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
How to create a thread in java?
What is stack class in java?
Define locale.
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
Write a factorial program using recursion in java?
What are void pointers?
What is native code?
What is the purpose of methodology?
Explain about collection interface in java?
What does math floor () do?
How do you remove all elements from an arraylist in java?
Do I need to import java.lang package any time? Why?
What are keyboard events?
what is the use of bean managed and container managed with example?
Should a main method be compulsorily declared in all java classes?