We all use comments to describe the Java code. There are two types of comments in Java.
where the compiler ignores everything from // to the end of the line
line 3 */
where the compiler ignores everything from /* to */ and
Write a Java program that remove comments from input java source code and output the java source code without comments.