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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What three attributes of System are there?

A

in, out, err

How well did you know this?
1
Not at all
2
3
4
5
Perfectly