Report question

Question: difference between flush and close function in case of filewriter in java