|
|
发表于 28-10-2008 12:49 PM
|
显示全部楼层
回复 1# David84 的帖子
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package display2rd;
/**
*
* @author yuyike
*/
public class Main extends B{
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String Z = Main.C;
System.out.println(Z);
}
}
class B{
static String C = "5";
} |
|