/** * Write a description of class Chapter2 here. * * @author John Paxton * @version (a version number or a date) */ public class Chapter2 { public static void main (String [] args) { // int is the type // year is the variable // 2008 is the value int year = 2008; double pi = 3.14; double radius = 1.0; double area; // year = 2008; System.out.println("The current year is " + year); System.out.println(pi); area = pi * radius * radius; System.out.println("The area of the circle is " + area); } }