Top Posters
Since Sunday
r
4
L
4
3
d
3
M
3
l
3
V
3
s
3
d
3
a
3
g
3
j
3
New Topic  
Eels Eels
wrote...
Posts: 716
Rep: 0 0
7 years ago
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 }

What will be the coordinates of the center of the oval?
A) (100, 50)
B) (125, 75)
C) (100, 100)
D) (50, 50)
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 174 times
3 Replies
Replies
Answer verified by a subject expert
ToothyToothy
wrote...
Top Poster
Posts: 744
Rep: 4 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Eels Author
wrote...
7 years ago
This brought my confidence back up, thanks
wrote...
7 years ago
I'm happy to help
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1556 People Browsing
Related Images
  
 299
  
 385
  
 1946
Your Opinion
What's your favorite coffee beverage?
Votes: 303