Can you write a Java class that could be used both as an applet as well as an application?

1 answers

Yes. Add a main() method to the applet.

maurice maurice [Author] 3 months ago votes 0