1. 학습
  2. /
  3. 강의
  4. /
  5. Input/Output and Streams in Java

Connected

연습 문제

Pointing to your first note

You're building a simple note-taking app. Each note will be stored in a file, so the first step is to create a File object that points to where your note will be saved. In this task, you'll prepare to manage a file called "note.txt".

지침

100 XP
  • Import the File class from java.io.
  • Create a File object named noteFile that points to "note.txt".