Get premium membership and access questions with answers, video lessons as well as revision papers.

State four differences between Java applications and Java applets programming.

      

State four differences between Java applications and Java applets programming.

  

Answers


gregory
• Application
– Trusted (i.e., has full access to system resources)
– Invoked by Java Virtual Machine (JVM, java), e.g. java HelloWorld
– Should contain a main method, i.e., public static void main(String[] args)
• Applet
– Not trusted (i.e., has limited access to system resource to prevent security
breaches)
– Invoked automatically by a java enabled web browser
– Should be a subclass of class java.applet.Applet
gregorymasila answered the question on January 24, 2018 at 17:37


Next: Explain the following terms: i. Inheritance ii. Encapsulation iii. Polymorphism
Previous: Java exception handling is managed by five keywords: state and discuss the role of each of the keywords.

View More Computer Science Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions