0:00
Okay.
00:01
This question wants us to determine what classes are used to access the right and right line methods.
00:10
So if we look at the documentation, we see that similarly to the stream reader class, there is also a stream writer class.
00:21
So let's define a stream writer sw.
00:25
There's going to be a new stream reader object.
00:32
It's going to write to this file i defined earlier.
00:38
So i define this empty file called output.
00:41
That we're just going to show for proof of concept.
00:45
I can get written to using the stream writer class.
00:50
So now that we've opened, this file is a stream, we can just do sw.
00:59
Write.
01:01
And we can just write whatever we'd like in here.
01:04
There's a string.
01:06
So i can write this is a test string...