摘要: 源程序: package 线程设计; import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.event.KeyEvent;import java.awt.event.KeyList 阅读全文
posted @ 2019-06-30 21:27 胖玻璃球就一个 阅读(152) 评论(0) 推荐(0)
摘要: 实验程序: package shiyan;import java.awt.*;import javax.swing.*;import java.awt.event.*; public class Jisuanqi extends Frame implements ActionListener{pub 阅读全文
posted @ 2019-06-17 18:18 胖玻璃球就一个 阅读(154) 评论(0) 推荐(0)
摘要: 运行结果 阅读全文
posted @ 2019-06-03 18:07 胖玻璃球就一个 阅读(230) 评论(0) 推荐(0)
摘要: 实验程序如下: public class 图形 { public static void main(String[] args) { point p1=new point(0,0); point p2=new point(1,0); point p3=new point(0,1); rectangl 阅读全文
posted @ 2019-05-27 13:13 胖玻璃球就一个 阅读(170) 评论(0) 推荐(0)
摘要: class Manager{ Manager(){ System.out.println("Manager"); } } public class ATM{ static Manager m; ATM(){ m = new Manager(); System.out.println("ATM"); } public... 阅读全文
posted @ 2019-04-15 21:47 胖玻璃球就一个 阅读(140) 评论(0) 推荐(0)
摘要: package jiangli; import java.util.Scanner; public class Paixu { public static void main(String[] args) { Scanner s = new Scanner(System.in); int temp; 阅读全文
posted @ 2019-04-08 22:45 胖玻璃球就一个 阅读(419) 评论(0) 推荐(0)
摘要: 源代码: public class Procedure33 { public static void main(String[] args) { int [] up=new int [20]; for(int i=1;i<=10;i++){ int [] a=new int [i]; for(int 阅读全文
posted @ 2019-03-28 18:21 胖玻璃球就一个 阅读(414) 评论(0) 推荐(0)
摘要: 在downloads中选择JAVA DOWNLOAD进入Java下载列表 点选Accept License Agreement,选择Windows这一栏下载安装包 进入文件夹,双击应用程序根据提示进行安装,直至安装完成。 测试jdk是否安装成功,可在【开始】中搜索cmd,输入【java -versi 阅读全文
posted @ 2019-03-10 23:13 胖玻璃球就一个 阅读(324) 评论(0) 推荐(0)