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.
You might also like to view...
A diagram of the hierarchical organization of the subproblems of a solution is called ______.
a. stepwise refinement b. divide and conquer c. a top-down approach d. function calls e. a structure chart
Write a program to read a list of nonnegative integers and to display the largest integer, the smallest integer, and the average of all the integers. The user indicates the end of the input by entering a negative sentinel value that is not used in finding the largest, smallest, and average values. The average should be a value of type double, so that it is computed with a fractional part.
The solution for this project includes a default case to print a message if no positive integers are entered.