Draw an Olympic Symbol in Java Applet
Given task is to draw an Olympic symbol in Java Applet.
Approach: Use drawOval() method to draw a circle with x and y coordinates and length and breadth.
Below is the implementation of the above approach:
Note: To run the applet in command line use the following commands
> javac Olympics.java > appletviewer Olympics.java
You can also refer to: https://www.geeksforgeeks.org/different-ways-to-run-applet-in-java to run applet program.
My Personal Notes arrow_drop_up
Please Login to comment...