自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 多态抽象类画师画图java

package com.iotek.A;public abstract class Graph { public abstract void onDraw();}package com.iotek.A;public class Painter { public void onDraw(Graph graph) { graph.onDraw()...

2019-04-08 10:49:45 318

原创 多态 大小狗问题1java

package com.iotek.a;public class Animal {private String name;private int age;private String color;public String getName() { return name;}public void setName(String name) { this.n...

2019-04-08 10:38:41 200

原创 通过18位身份证号输出出生年月日java

import java.util.Scanner;public class B { public static void main(String []args) { Scanner sc=new Scanner(System.in); String s; s=sc.next(); getf(s); } public...

2019-04-08 10:33:43 3003

原创 80小孩手拉手

public class G{ public static void main (String []args) { int []a=new int[80]; int count=0; int z=80; //填充在为0 Arrays.fill(a, 0); for(int i=0;i<=a...

2019-04-08 10:28:33 413

原创 输入字符串判断数字大写字母小写字母java

public class G { public static void main(String []args) { Scanner sc=new Scanner(System.in); char[]a=new char[100]; String s; int count=0; i...

2019-04-08 10:27:37 647

原创 三种排序

//冒泡排序public class F { public static void main(String[]args) { int []a= {1,4,2,89,3,79,90}; for(int i=0;i<a.length-1;i++) { for(int j=0;j<a.length-i-1;j++) {...

2019-04-08 10:26:22 276

原创 简易的计算器java

public class D { public static void main(String []args) { Scanner sc=new Scanner(System.in); System.out.println("第一个整数"); int a=sc.nextInt(); System.out.println("第二个整数");...

2019-04-08 10:24:16 415

原创 随机生成40个数 输出输出次数 java

public class c1 {public static void main (String [] args) { Random random=new Random(); int a[]=new int [40]; for(int i=0;i<a.length;i++) { int b=random.nextInt(41)+10;...

2019-04-08 10:23:17 942

原创 输入15个数 求最大最小值 java

public class B {public static void main(String []args) { int []arr=new int[15]; int max=arr[0]; int min=0; Scanner sc=new Scanner(System.in); for(int i=0;i<arr.length;...

2019-04-08 10:21:39 968

原创 判断是否是三角形 不是重新输入

public class A {public static void main (String []args) { Scanner sc=new Scanner(System.in); int z=0; while(true){ int a=sc.nextInt(); int b=sc.nextInt(); int c=sc.nextInt();...

2019-04-08 10:19:52 270

原创 zz的成长

#include #include/* run this program using the console pauser or add your own getch, system("pause") or input loop */using namespace std;int main(int argc, char *argv[]) {int x,a,y;cou

2017-04-19 19:06:38 987

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除