Code:
import java.applet.Applet;
import java.awt.Graphics;
/**
*
* @author Queue
*/
public class Practical1 extends Applet {
public void init()
{
super.init();
setSize(350,350);
}
public void paint(Graphics s)
{
s.drawOval(50, 50, 200, 200);
s.drawString("Sherlock", 140, 150);
}
}
Output:
Thanks ;)
Happy Coding
Happy Coding
great idea dude!
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteGreat....
ReplyDeletepls click:best aws training in chennai
ReplyDeleteazure best training institute in chennai
devops training institute in chennai
selenium training institutes in chennai
best powerbi training institutes in chennai
tableau course fees
best angular training center in chennai
reactjs training institute in chennai
pls click here:best oracle training in chennai
ReplyDeletejava training and placement in chennai
digital marketing course in chennai
data science course in chennai