File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Width of Oval" Watch "Width of Oval" New topic

Width of Oval

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
This is a question from a mock exam.
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.

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
[This message has been edited by Savithri Devaraj (edited August 03, 2000).]
I agree. Here's the link:
subject: Width of Oval
It's not a secret anymore!