What does the `size()` method in `ByteArrayOutputStream` return?
The `size()` method returns the capacity of the internal buffer, not the number of bytes written.
Youâ€™re close, but `size()` returns the actual number of bytes written, not the capacity of the buffer.
Can you describe how you would check the capacity of the internal buffer in `ByteArrayOutputStream`?