How to find the length and capacity of a string buffer ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / therathna
By using length and capacity methods.
For this use JDK api we get complete details
| Is This Answer Correct ? | 2 Yes | 2 No |
List some important characteristics on jre
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
what are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this
11 Answers IBM, L&T,
Which software is used for java programming?
What are Interceptors?
Java is pass by value or pass by reference? Explain
Which arithmetic operations can result in the throwing of an arithmeticexception?
Give some features of interface?
Which access specifier can be used with class ?
What is function declaration?
What does bitwise or mean?
can any one send me the example program of immutable class?