touque.ca > Education Commons > Java > Resources > Activities

Classes & Objects

  1. State three ways to reset the Java virtual machine.
  2. What indicates that a class is not up-to-date?
  3. State four ways to compile an individual class.
  4. State two ways to compile an entire project.
  5. Consider the figure below and explain why there is no menu choice to create an instance of the Triangle class.
  6. List the steps required to create a Triangle object.
  7. Every Triangle object has many instance fields? Describe two ways to determine the answer.
  8. State two ways to edit the source code of a class in the figure project.
  9. According to the project documentation, how many concepts are illustrated by this project?
  10. State the two principal ways to remove an object from the object bench.
Triangle-class pull-down menu

touque.ca > Education Commons > Java > Resources > Activities

[This page last updated 2020-12-23 at 12h12 Toronto local time.]