True or False?
Question 37
Type int is the default representation for literal real numbers in Java.
True or False?
Question 38
When an object's reference is passed as a parameter to the System.out.println method, the getClass method belonging to the object is executed automatically.
True or False?
Question 39
The toString method is overloaded in the ColMatrix class.
True or False?
Question 40
If you call the getData method belonging to an object of the GM2D01.ColMatrix class and pass a parameter value of 2, the program will throw an IndexOutOfBoundsException .
True or False?
Question 41
The constructor for the GM2D01.ColMatrix class requires three incoming parameters of type double .
True or False?
Question 42
The constructor for the GM2D01.Point class requires a single incoming parameter, which is a reference to an object of the class GM2D01.ColMatrix .
True or False?
Question 43
GM2D01.Vector and java.util.Vector are simply different names for the same class.
True or False?
Question 44
The constructor for the GM2D01.Vector class requires two incoming parameters, which are references to objects of the class GM2D01.ColMatrix .
True or False?
Question 45
A line segment is the straight path between two points. It has no thickness and therefore cannot be seen by the human eye.
True or False?
Question 46
The constructor for the GM2D01.Line class requires two incoming parameters, which are references to objects of the class GM2D01.ColMatrix .
True or False?
Question 47
The GM2D01 library provides methods for rendering objects of the ColMatrix , Line , Point , or Vector classes in a visual graphics context.
True or False?
What is the meaning of the following two images?
This image was inserted here simply to insert some space between the questions and the answers to keep them from being visible on the screen at thesame time.
This image was also inserted for the purpose of inserting space between the questions and the answers.
Answers
Answer 47
False. The library named GM2D01 is purely mathematical. The library doesn't provide any mechanism for rendering objects of the ColMatrix , Line , Point , or Vector classes in a visual graphics context.
Answer 46
False. The constructor for the GM2D01.Line class requires two incoming parameters, which are references to objects of the class GM2D01.Point .
Answer 45
True
Answer 44
False. The constructor for the GM2D01.Vector class requires a single incoming parameter, which is a reference to an object of the class GM2D01.ColMatrix .
Answer 43
False. GM2D01.Vector is a different class from the class named java.util.Vector in the standard Java library.
Answer 42
True
Answer 41
False. The constructor for the GM2D01.ColMatrix class requires two incoming parameters of type double .
Answer 40
True
Answer 39
False. The toString method is overridden in the ColMatrix class.