-3
단순히 메모장 파일에 문자열을 추가하고 싶습니다. 메모장 파일 "Values.txt"를 호출하겠습니다. 말해봐;Java, 메모장 파일에 문자열 쓰기
public static void main(String[] args) {
String myText = "Let's add this string to a notepad file";
// Code to add string to a notepad file
}
해당 코드는 무엇입니까?
시도해 보셨습니까? Google? – Magnilex
연구가 완료되었습니다. –
메모장 파일 같은 것이 없습니다. 파일 확장명이 있습니다. 파일 확장자'.txt '는 메모장에서 열 수 있습니다. –