上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页
摘要: 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 敲敲代代码码 阅读(148) 评论(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 敲敲代代码码 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1 public class math{ 2 public static void main(String[] args) { 3 Scanner s=new Scanner(System.in); 4 int d=0; 5 int[] a=new int[30]; 6 int[] b=new in 阅读全文
posted @ 2020-09-30 12:31 敲敲代代码码 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 枚举 1 public class EnumTest { 2 public static void main(String[] args) { 3 Size s=Size.SMALL; 4 Size t=Size.LARGE; 5 //s和t引用同一个对象? 6 System.out.println 阅读全文
posted @ 2020-09-29 22:05 敲敲代代码码 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Account.java 1 package 第一次; 2 import java.util.*; 3 class Account{ 4 private String accountID; 5 private String accountname; 6 private String operated 阅读全文
posted @ 2020-09-22 22:31 敲敲代代码码 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 例11.1 1 import java.util.Scanner; 2 import java.util.*; 3 public class cjava { 4 public static void main(String[]args) { 5 Student1 s1=new Student1(); 阅读全文
posted @ 2020-08-30 23:47 敲敲代代码码 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 例13.1 1 import java.util.Scanner; 2 public class cjava { 3 public static void main(String[] args) { 4 float a,b,c,disc; 5 System.out.println("please i 阅读全文
posted @ 2020-08-29 19:40 敲敲代代码码 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 例9.6 1 public class cjava { 2 public static void main(String[] args) { 3 Box b1=new Box(15,30,25); 4 System.out.println(b1.height); 5 Box b2=new Box(2 阅读全文
posted @ 2020-08-28 20:54 敲敲代代码码 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 例9.5对象的赋值 1 public class cjava { 2 public static void main(String[] args) { 3 Box b1=new Box(15,30,25); 4 System.out.println("The volume of box1 is "+ 阅读全文
posted @ 2020-08-27 20:43 敲敲代代码码 阅读(122) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页