It's not a secret anymore!*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Width of Oval Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Width of Oval" Watch "Width of Oval" New topic
Author

Width of Oval

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
This is a question from a mock exam.
------------------------------------------
g.drawOval(30,30,200,200)
State whether true.
1. the height & width of the Oval is 200.
------------------------------------------
I assumed there is no width or height for an Oval. The width and height are the width and height of the sorrounding rectangle.
[ It's called diameter for a circle. not width or height. I dont know what is it for an Oval ]
Any ideas ?


[This message has been edited by vasansrini (edited August 03, 2000).]
Savithri Devaraj
Ranch Hand

Joined: Jun 26, 2000
Posts: 103
Originally posted by vasansrini:
This is a question from a mock exam.

True.
The method signature is drawOval(x,y,width,height) where x,y are the coordinates of upper left corner and width and height are of the bounding rectangle which are the width and height of the oval
Savithri
[This message has been edited by Savithri Devaraj (edited August 03, 2000).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Width of Oval
 
Similar Threads
Draw a curve in Java if only have 3 coordinates known.....Help !!
using applets in html
Need help in making my Oval increase in size.
My panel object won't repaint(). Please help.
help with oval