java中主函數(shù)怎么調用類中定義的函數(shù)?
public class DrawTable extends JFrame{public DrawTable(){}public boolean table(){}public static void main(String[]args){ DrawTable dt = new DrawTable (); dt.table();}}樓主,要有面向對象的概念!
java中主函數(shù)怎么調用類中定義的函數(shù)?
public class DrawTable extends JFrame{public DrawTable(){}public boolean table(){}public static void main(String[]args){ DrawTable dt = new DrawTable (); dt.table();}}樓主,要有面向對象的概念!