10 2020 档案

摘要:1. package first; import javax.swing.*; class AboutException{ public static void main(String[] a) { int i=1, j=0, k; //k=i/j; try { k = i/j; // Causes 阅读全文
posted @ 2020-10-31 13:45 敲敲代代码码 阅读(83) 评论(0) 推荐(0) 编辑
摘要:1. 1 class Grandparent 2 { 3 4 5 public Grandparent() 6 { 7 8 System.out.println("GrandParent Created."); 9 10 } 11 12 13 public Grandparent(String st 阅读全文
posted @ 2020-10-21 21:25 敲敲代代码码 阅读(76) 评论(0) 推荐(0) 编辑
摘要:今天配置完了javaweb的环境,继续学习Javaweb 阅读全文
posted @ 2020-10-19 21:00 敲敲代代码码 阅读(50) 评论(0) 推荐(0) 编辑
摘要:今天安装了tomcat 准备学习javaweb 阅读全文
posted @ 2020-10-09 21:45 敲敲代代码码 阅读(66) 评论(0) 推荐(0) 编辑
摘要:(1). 原因:如果类提供了一个自定义的构造方法,将导致系统不再提供默认构造方法。 (2). 1 public class InitializeBlockClass { 2 { 3 field=200; 4 } 5 public int field=100; 6 public InitializeB 阅读全文
posted @ 2020-10-07 21:22 敲敲代代码码 阅读(80) 评论(0) 推荐(0) 编辑
摘要:二柱子 1 import java.util.*; 2 public class math{ 3 static int d;//出题个数 4 static int e;//操作数个数 5 static int f;//操作数取值范围 6 static int u=0;//错题个数; 7 static 阅读全文
posted @ 2020-10-05 23:58 敲敲代代码码 阅读(124) 评论(0) 推荐(0) 编辑
摘要:动手动脑 生成随机数 1 import java.util.*; 2 public class random{ 3 public static void main(String[] args) { 4 int m; 5 System.out.print("请输入生成随机数的个数:"); 6 Scan 阅读全文
posted @ 2020-10-04 21:35 敲敲代代码码 阅读(178) 评论(0) 推荐(0) 编辑
摘要:输入验证码 1 import javax.swing.Box; 2 import javax.swing.JLabel; 3 import javax.swing.JOptionPane; 4 import javax.swing.JPanel; 5 import javax.swing.JText 阅读全文
posted @ 2020-10-04 21:00 敲敲代代码码 阅读(141) 评论(0) 推荐(0) 编辑
摘要:1 #include<stdio.h> 2 #include <stdlib.h> 3 #include<malloc.h> 4 #define OK 1 5 #define ERROR 0 6 #define ElemType int 7 typedef int Status; 8 typedef 阅读全文
posted @ 2020-10-03 23:49 敲敲代代码码 阅读(152) 评论(0) 推荐(0) 编辑
摘要:1 import javax.swing.JOptionPane; // import class JOptionPane 2 3 public class Addition { 4 public static void main( String args[] ) 5 { 6 String firs 阅读全文
posted @ 2020-10-02 21:12 敲敲代代码码 阅读(141) 评论(0) 推荐(0) 编辑
摘要:1 #include<iostream> 2 using namespace std; 3 #define MAXSIZE 100 4 #define OK 1 5 #define ERROR 0 6 typedef int status; 7 typedef struct 8 { 9 int a; 阅读全文
posted @ 2020-10-01 21:00 敲敲代代码码 阅读(133) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示