What shape will the oval have?

Look at the following applet code:

1 import javax.swing.*;
2 import java.awt.*;
3 public class GraphicsTest extends JApplet
4 {
5 public void init()
6 {
7 getContentPane().setBackground(Color.WHITE);
8 }
9 public void paint(Graphics g)
10 {
11 super.paint(g);
12 g.setColor(Color.YELLOW);
13 g.fillOval(100, 100, 50, 50);
14 g.setColor(Color.BLACK);
15 g.setFont(new Font("SansSerif", Font.BOLD, 35));
16 g.drawString("SLOW", 110, 110);
17 }
18 }

A) Oblong, width greater than height
B) Oblong, width less than height
C) Circle
D) Cannot tell


C) Circle

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a multiuser computer system that runs a network operating system and provides services to client systems

Fill in the blank(s) with correct word

Computer Science & Information Technology

James shares the link of his Google Doc with his friend over e-mail. Here, James is using _____ to share information.

A. ?flash computing B. ?stylus computing C. ?cloud computing D. ?pixel computing

Computer Science & Information Technology

When writing good link text, it is recommended that you do NOT use "click here" in link text.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Most CASE tools do not come with data modeling features.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology