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

Posted on    May-04-2015 11:25 PM

 Java Java 
Ratings:
 1 Answer(s)
  479  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    May-04-2015 11:25 PM

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

Don't want to miss updates? Please click the below button!

Follow MindStick