Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

type of write versus type of append

yecril15plJun 29 2018 — edited Jun 29 2018

Writer .write returns void while Writer .append returns Writer itself.  Why is that?  I would expect both to return Writer, so that I can write { w .write (this) .write (that); }.  What do you think?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 27 2018
Added on Jun 29 2018
1 comment
181 views