Test your understanding of Java with the following:

What does pictureObj.show() do?
What does soundObj.play() do?
What does FileChooser.pickAFile() do?
What does turtle1.turnLeft() do?


It will show a picture.
It will play a sound.
It will let you pick a file and returns a string that is the full pathname.
It makes a turtle turn left.

Computer Science & Information Technology

You might also like to view...

Which of the following are examples of situations in which a person can expect privacy?

a. In an enclosed telephone booth. b. Sitting on a park bench listening to a music player. c. Parked at an intersection with the car windows wide open. d. Material that has been placed into opaque bags before thrown into the trash.

Computer Science & Information Technology

The 68020 supports both preindexed and postindexed memory indirect addressing modes. What, in this context, are preindexing and postindexing? If only one of these addressing modes could be implemented, which do you think is the better alternative? Explain your reasoning with examples.

What will be an ideal response?

Computer Science & Information Technology

A(n) ____ variable, is a variable whose value cannot be further subdivided or separated into a built-in data type.

A. data structure B. scalar C. array D. class

Computer Science & Information Technology

You can use your own creative skills to design and compose business documents.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology