<< Chapter < Page Chapter >> Page >

True or False?

Answer 36

Question 37

Type int is the default representation for literal real numbers in Java.

True or False?

Answer 37

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?

Answer 38

Question 39

The toString method is overloaded in the ColMatrix class.

True or False?

Answer 39

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?

Answer 40

Question 41

The constructor for the GM2D01.ColMatrix class requires three incoming parameters of type double .

True or False?

Answer 41

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?

Answer 42

Question 43

GM2D01.Vector and java.util.Vector are simply different names for the same class.

True or False?

Answer 43

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?

Answer 44

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?

Answer 45

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?

Answer 46

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?

Answer 47

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.

Missing image

This image was also inserted for the purpose of inserting space between the questions and the answers.

Missing image

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.

Back to Question 47

Answer 46

False. The constructor for the GM2D01.Line class requires two incoming parameters, which are references to objects of the class GM2D01.Point .

Back to Question 46

Answer 45

True

Back to Question 45

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 .

Back to Question 44

Answer 43

False. GM2D01.Vector is a different class from the class named java.util.Vector in the standard Java library.

Back to Question 43

Answer 42

True

Back to Question 42

Answer 41

False. The constructor for the GM2D01.ColMatrix class requires two incoming parameters of type double .

Back to Question 41

Answer 40

True

Back to Question 40

Answer 39

False. The toString method is overridden in the ColMatrix class.

Back to Question 39

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Game 2302 - mathematical applications for game development. OpenStax CNX. Jan 09, 2016 Download for free at https://legacy.cnx.org/content/col11450/1.33
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Game 2302 - mathematical applications for game development' conversation and receive update notifications?

Ask