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.
You might also like to view...
Which of the following is not a way to adjust the height or width of a column or row in a table?
A) Change the font size of the content and the height will change automatically. B) Double-click the border. C) Use the height or width spin arrow. D) Drag the border to its desired height or width.
The Reading view in PowerPoint displays the status bar as well as the presentation
Indicate whether the statement is true or false