正在加载图片...
What Kind is lt? It all depends on where we put it in our program When an identifier appears in a data item declaration within a method. it is a local variable class xYz public static void main(string[] args)( int ofstUdents JFrame frame i double GPA, termGPA K凶心 2008-20092a Michael Fung, CS&E, The Chinese University of HK 132008-2009 2a Michael Fung, CS&E, The Chinese University of HK 13 What Kind Is It? It all depends on where we put it in our program. When an identifier appears in a data item declaration within a method, it is a local variable. – e.g. class XYZ { public static void main(String[] args) { int noOfStudents; JFrame frame; double GPA, termGPA; } }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有