go to previous page   go to home page   go to next page

Answer:

Yes. Instance varables can be reference variables.


Instance Varables

Here is the start of the class Tree. Decide what the instance variables should be:

public class Tree
{
  // instance variables
  private double x, y, z;
  private  branches;
  private  trunk;
 
  ...
}

QUESTION 5:

Complete the instance variables.


go to previous page   go to home page   go to next page