class DataNode{ // creates a class named DataNode String carName; // creates a property that holds a string with the name of the car int date; // creates a property that holds a string with the date of the gas fillup float gasPrice; // creates a property that holds the price / gallon of the gas float mileage; // creates a property that holds the miles / gallon for that fillup DataNode(String dCarName, int dDate, float dGasPrice, float dMileage) { // defines the method used to create a DataNode object... carName = dCarName; date = dDate; gasPrice = dGasPrice; mileage = dMileage; } /* void display() { fill(circleColor); // set the fill color to be whatever is store in this object's circleColor property pushMatrix(); translate(x,y,z); sphere(circleSize); popMatrix(); //ellipse(x,y, circleSize, circleSize); // draw the circle using the x,y and circleSize properties of this object } */ }