Which of the following are class methods and which are object methods? How can you tell which are which?

Math.abs(-3);
soundObj.play();
FileChooser.pickAFile();
pictureObj.show();
ColorChooser.pickAColor();
turtle1.turnLeft();


Class method since Math starts with an uppercase letter.
Object method since soundObj starts with a lowercase letter.
Class method since FileChooser starts with an uppercase letter.
Object method since pictureObj starts with a lower- case letter.
Class method since ColorChooser starts with an uppercase letter.
Object method since turtle1 starts with a lowercase letter.

Computer Science & Information Technology

You might also like to view...

Given the ShoeType structure type definition. Write a function for the declaration (prototype).

``` struct ShoeType { char style; double price; }; void readShoeRecord(ShoeType& Item); // Prompts for data and fills ShoeType argument members ```

Computer Science & Information Technology

Which of the following state transitions is not possible?

a) blocked to running b) ready to running c) blocked to ready d) running to blocked

Computer Science & Information Technology

It's a smart idea to save repetitive steps as a(n) ____, thereby avoiding time consuming repetition of efforts.

A. agenda B. action C. list item D. story

Computer Science & Information Technology

When a line of text contains revisions, the left margin displays a:

a. vertical change bar b. horizontal change bar c. balloon

Computer Science & Information Technology