Write a program that converts a Java file into an HTML file. In the HTML file, the

Question:

Write a program that converts a Java file into an HTML file. In the HTML file, the keywords, comments, and literals are displayed in bold navy, green, and blue, respectively. Use the command line to pass a Java file and an HTML file. For example, the following command java Exercise21_05 Welcome.java Welcome.html converts Welcome.java into Welcome.html. Figure 21.8a shows a Java file. The corresponding HTML file is shown in Figure 21.8b.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: