Homework 6
Due date : See COL
Goals : Command line argument/ Text File I/O / Exception handling /String
Implement a Java application that takes any Java source code (text) file (say Any.java ) as input ,
and writes it back to a text file (say : Any.java.txt) with all its comments being removed.
Remember there are two type of comments in Java :
- comment line that starts with //
- comment block that starts with /* and ends with */
Turn in Instructions
- Upload your zipped folder to COL.
- Upload the .java file NOT the .class file.
- You can upload a file multiple times, each time it will overwrite the previous submission.
- The time stamp will log the most recent submission