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?
» Why string objects are immutable in java?
» Why java uses the concept of string literal?
» What is an applet?
» What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
» Why string objects are immutable in java?
» Why java uses the concept of string literal?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum