3.11.4 and 3.11.7 and 3.12.1 which are programs emailed to me as attachments by the due date.
Follow all coding standards. See link to the right.
This exercise is about what you _think_ the line of code given is supposed to do. Visualize it and DECIDE BEFORE you T.I.A.S.! Then put this line into a working program EXACTLY as given, compile & run. What happens? Was it what you expected? Explain why or why not.
Do not submit your code for 3.11.3 Just answer the question(s).
In this code, there is nothing missing and nothing wrong -- nothing. The code works just fine. However, it is inefficient. To see an efficient version, compare it to the the onMouseClick method your authors provide in Figure 3.8 on p. 81. This version is better. So, compare the two and explain WHY the code in this question is less efficient.