<< Chapter < Page | Chapter >> Page > |
True or False?
The returned value of the createImage method is type JFrame .
True or False?
The return type of the getGraphics methods is Graphics .
True or False?
Objects instantiated from the GM2D02.Point and GM2D02.Line classes are not graphical objects.
True or False?
Objects instantiated from the GM2D02.Point and GM2D02.Line classes are underlying data objects that are suitable for use in mathematicaloperations.
True or False?
A call to the draw method of the GM2D02.Line class causes an object of the standard Java Point2D.Double class to be rendered onto the specified graphics context.
True or False?
The Line2D.Double object is a graphical object and the GM2D02.Line is an underlying data object.
True or False?
The GM2D02.Line class is a member of the standard Java library, whereas the Line2D.Double class is a member of the special game math library named GM2D02 .
True or False?
One of the problems with object-oriented programming is that objects don't know how to do useful things for themselves.
True or False?
A call to the draw method of the GM2D02.Point class causes an object of the standard Java Ellipse2D.Double class to be rendered onto the specified graphics context.
True or False?
The constructor for the Java standard Ellipse2D.Double class requires four incoming parameters that specify the coordinates of the upper-left cornerof a rectangle followed by the width and the height of the rectangle.
True or False?
An object of type Ellipse2D.Double represents an ellipse that is bounded by the four sides of a rectangle. If the rectangle is square, theellipse becomes a square.
True or False?
Kjell tells us that a vector is a geometrical object that has two properties: length and direction. He also tells us that a vector does not have a position.
True or False?
The draw method of the GM2D02.Vector class requires three parameters:
True or False?
The visual manifestation of a vector can be placed anywhere in space, and one placement is just as correct as the next
True or False?
Although the visual manifestation of a vector can be placed anywhere in space, and one placement is just as correct as the next, certain placements maybe preferable to others in some cases so as to better represent the problem being modeled by the use of vectors.
True or False?
The rendering of a GM2D02.Vector object by the draw method of the GM2D02.Vector class draws a small circle to visually identify the head of the vector.
Notification Switch
Would you like to follow the 'Game 2302 - mathematical applications for game development' conversation and receive update notifications?