What Kind is lt? It all depends on where we put it in our program x Let's now consider the third case. field name When an identifier appears in a data item declaration within a class but not in a method it is a field name class xYz int noofStudentsi JFrame frame double GPA, termGPA K凶心 2008-20092a Michael Fung, CS&E, The Chinese University of HK 122008-2009 2a Michael Fung, CS&E, The Chinese University of HK 12 What Kind Is It? It all depends on where we put it in our program. Let’s now consider the third case, field name. When an identifier appears in a data item declaration within a class BUT not in a method, it is a field name. – e.g. class XYZ { int noOfStudents; JFrame frame; double GPA, termGPA; }