摘要: 数据类型:boolean、byte、short、int、long、double、char、float、double。l包引入和包声明:import、package。l用于类和接口的声明:class、extends、implements、interface。l流程控制:if、else、switch、d 阅读全文
posted @ 2016-08-09 15:46 叶小龙 阅读(127) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { Shape shape; Scanner input = new Scanner(System.in); System.out.println("请选择图形(1、圆形 2、矩形 3、三角形)"); int a = in 阅读全文
posted @ 2016-08-09 08:32 叶小龙 阅读(690) 评论(0) 推荐(0) 编辑