These solutions will not be displayed correctly using Internet Explorer. For best viewing, use Netscape version 4.0 or higher.
[CHECK-IN, TURN-IN]Write a class that can be used as the startup class for a program.
[CHECK-IN, TURN-IN] Create a simple self-animating object class.
[CHECK-IN, TURN-IN] What import statements would you need to include to use AnimatorThread and Animate? How could you refer to them without an import statement?
import cs101.lang.Animate; import cs101.lang.AnimatorThread;
[TURN-IN] Q. What happens if your main method starts two separate instances of your calculator class?
Two independent calculators will be created.Finally, here is a working copy of the calculator code:
This course is a part of Lynn Andrea Stein's
Rethinking
CS101 project at the MIT
AI Lab and the Department of Electrical Engineering and
Computer Science at the Massachusetts Institute of
Technology.
Questions or comments: