<< Chapter < Page Chapter >> Page >

Answer 3

Question 4

True or False? A call to the getWidth method of Ericson's Picture class returns a double value that specifies the width of the image in inches.

Answer 4

Question 5

True or False? Every array object in Java contains a length property that contains the number of elements in the array.

Answer 5

Question 6

True or False? Having gotten a reference to a Pixel object, the getGreen method can be called on that reference to get the value of the red color component in the current pixel.

Answer 6

Question 7

True or False? Red, green, and blue color values range from 0 to 256.

Answer 7

Figures

Listings

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.

The image is also an example of the kinds of things that we do in my course titled ITSE 2321, Object-Oriented Programming.

Spacer image of a rabbit and a penguin.

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

Spacer image of a penguin in the snow in front of some houses.

Answers

Answer 7

False. Red, green, and blue color values range from 0 to 255 .

Back to Question 7

Answer 6

False. Having gotten a reference to a Pixel object, the getGreen method can be called on that reference to get the value of the green colorcomponent in the current pixel.

Back to Question 6

Answer 5

True.

Back to Question 5

Answer 4

False. A call to the getWidth method of Ericson's Picture class returns an int value that specifies the width of the image in pixels.

Back to Question 4

Answer 3

True.

Back to Question 3

Answer 2

False. The output shown in Figure 2 was produced by calling the explore method of Ericson's Picture class.

Back to Question 2

Answer 1

True.

Back to Question 1

Miscellaneous

This section contains a variety of miscellaneous information.

Housekeeping material
  • Module name: Java3006r Review: Implementing a space-wise linear color-modification algorithm
  • File: Java3006r.htm
  • Published: 02/12/13
Disclaimers:

Financial : Although the Connexions site makes it possible for you to download aPDF file for this module at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF file, youshould be aware that some of the HTML elements in this module may not translate well into PDF.

I also want you to know that, I receive no financial compensation from the Connexions website even if you purchase the PDF version ofthe module.

In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale onAmazon.com showing me as the author. I neither receive compensation for those sales nor do I know who does receive compensation. If youpurchase such a book, please be aware that it is a copy of a module that is freely available on cnx.org and that it was made andpublished without my prior knowledge.

Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX.

-end-

Get the best College algebra course in your pocket!





Source:  OpenStax, Object-oriented programming (oop) with java. OpenStax CNX. Jun 29, 2016 Download for free at https://legacy.cnx.org/content/col11441/1.201
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Object-oriented programming (oop) with java' conversation and receive update notifications?

Ask