Computer Science
Related Questions
A file mode defines the type of operations that is to be performed on the file.
A stream is defined as a sequence of characters.
Data maintained inside the file is termed as "persistent" (permanent in nature) data.
'with' statement ensures that all the resources allocated to the file objects get deallocated automatically.