FileWriter implements AutoCloseable interface, hence we can use try with resources while using FileWriter class. package com.journaldev.io.
確定! 回上一頁