Both length & capacity will give you the total size of that array.

Capacity will give you the total size(capacity) of the array, where as length will give the number of characters in that array.

Capacity will give you the total number of characters in that array, where as length will give you the total length(capacity) of that array.

capacity will be always less than or equal to total length of that array.

Answer :(B)

Capacity will give you the total size(capacity) of the array, where as length will give the number of characters in that array.

Description :

Capacity will give you the total size(capacity) of the array, where as length will give the number of characters in that array.
More information:
length() - the length of the character sequence in the builder
capacity() - the number of character spaces that have been allocated.
When you try to construct a stringbuilder with empty content, by default it takes the initialize size as length+16 which is 0+16. so capacity would return 16 here.