Lecture 11 Flashcards
1
Q
What are the two java libraries used for I/O and what is the difference?
A
java. io –> stream-oriented
java. nio –> buffer-oriented
2
Q
What does the keyword serializable do? To what can it be added?
A
It is an interface that classes can implement, it makes objects of the class storable.
3
Q
What three attributes of System are there?
A
in, out, err