Week five Java Learning content (supplement) learning content:
Operation of the File class method
Public String GetName ()
public boolean canRead ()
public boolean canWrite ()
......
- The use of anonymous class Try-catch.
- Create directories and directories for deletion.
- File input Stream output stream
......
Code:
Because it is the fifth and sixth week of the code mixed together, so the code content includes the fifth week and sixth week code sum, sixth week code because of time tense, and not all knocked, hope please understand.
Problems encountered:
Q: In the learning of anonymous class encountered some difficulties, read the book does not understand the meaning of the book, read the video, plus ask classmates, roughly understand the meaning. Mainly through the Try-catch operation, in the try in the exception of the operation will skip directly after the try operation, if caught, then the action in the catch.
Some methods of the Q:file class have not been mastered at present, hope to be able to spare time to review a stool.
Week Five Java Learning Summary (supplement)