Wednesday, May 14, 2008

Can you write a Java class that can be used both as an Applet as well as an application?


Yes. We need to add a main() method to the applet for making it work both like an applet and an application.



Share/Save/Bookmark


No comments: