Define a method, and provide three examples.

What will be an ideal response?


A method defines specific tasks that an object can perform. Just as objects are similar to nouns and attributes are similar to adjectives, methods resemble verbs that describe what and how an object does something. For example, a student object can register for a course, pay a tuition bill, and submit an assignment.

Computer Science & Information Technology

You might also like to view...

A security association is uniquely identified by three parameters: Security Protocol Identifier, IP Destination Address, and ________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The ____ measures how much color information is available for displaying or printing each pixel in an image.

a. bit depth b. color depth c. pixel depth d. all of the above

Computer Science & Information Technology

Which of the following calculations cannot be completed with subtotal?

A) Standard Deviation B) Average C) Sum D) Max

Computer Science & Information Technology

A(n) ____ in a Photoshop menu like the one in the accompanying figure means the setting is currently used or displayed.


a. bullet
b. ellipsis
c. check mark
d. red asterisk

Computer Science & Information Technology