正在加载图片...
操作方法和调用方法 public class AlllnMain public static void main(string argsI int int1=42 int int2=24 System. out. println(int 1+int2); 这种方法是简洁的,但是它: 在较大的应用程序中是不现实的 >没有使用面向对象的思想 还有其它缺点操作方法和调用方法 • public class AllInMain { public static void main(String args[]) { int int1=42; int int2=24; System.out.println(int1+int2); } } • 这种方法是简洁的,但是它: ➢在较大的应用程序中是不现实的 ➢没有使用面向对象的思想 ➢还有其它缺点
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有