In the code below, where is `ByteArrayOutputStream`'s data stored, on the RAM or on the hard disk?

```
ByteArrayOutputStream bOutput = new ByteArrayOutputStream(12);

while( bOutput.size()!= 10 ) {
    // Gets the inputs from the user
    bOutput.write("hello".getBytes());
}

```