java - Will one FileOutputStream constructor call another one? -


I looked at JavaDocs for FileOutputStream and saw that a constructor has taken only one file object and the other is a file object Have taken and added a boolean, will the first constructor call only the second constructor which will pass incorrectly as append? Java docs did not talk about it

If you use a constructor without boolean, then it happens.

  FileApplyput stream (file file) Flannnet throws foreign exposure {This (file, incorrect); }   

Generally, these types of scenarios are assumed to be true or false, depending on the operation most commonly used. So if you are writing on the outputstream then you are creating a new file for a long time, so it passes as default false .

Cheers!

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -