public class NameAge { // begin scope of int age private int age = 32; public void print () { // begin scope of String name String name = "Derek Smalls"; System.out.println("My name is " + name + " and I am " + age + " years old."); } // end scope of String name public String stateName () { return name; // this would cause // an error } } // end scope of int age