Can you write a Java class that could be used both as an applet as well as an application?
Page 1 of 1
Can you write a Java class that could be used both as an applet as well as an application?
Yes. Add a main() method to the applet.
Similar topics
» How can we create immutable class in java ?
» What is an applet?
» What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
» What are the steps to connect to the database in java?
» How will you invoke any external process in Java?
» What is an applet?
» What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
» What are the steps to connect to the database in java?
» How will you invoke any external process in Java?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum