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
What are the Class Libraries ?
How is java hashmap implemented?
What are the basics of core java?
What is an 8 bit word?
What is null data type?
What is the purpose of encapsulation?
What are examples of modifiers?
What is a default constraint?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
Is finalize() similar to a destructor?
What do you understand by looping in java? Explain the different types of loops.
What causes memory leaks in java?
What are the different approaches to implement a function to generate a random number?
How does list work in java?
Why pass by reference is not possible in java?