What is the default size of vector and StringBuffer?

Showing Answers 1 - 2 of 2 Answers

sudha

  • Jun 21st, 2006
 

vector -10stringBuffer-50

  Was this answer useful?  Yes

Jules

  • Feb 3rd, 2007
 

StringBuffer() : Constructs a string buffer with no characters in it and an initial capacity of 16 characters.Vector() : Constructs an empty vector so that its internal data array has size 10 and its standard capacity increment is zero.(Read the api documentation)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions