java io fundamentals - Object Stream