BIT401 ยท 0 ยท 5 marks
Write a java program to read content from keyboard and write it to the file named test.txt in D: drive.
Write a java program to read content from keyboard and write it to the file named test.txt in D: drive. [5]
Advanced Java ProgrammingChapter 2: Exception Handling and Input/OutputReading from keyboard and writing to files