2019年3月13日
摘要: import java.util.ArrayList;import java.util.Random; public class a { public static void main(String[] args) { ArrayList<a0> arr=new ArrayList<a0>(); / 阅读全文
posted @ 2019-03-13 10:11 ~王~ 阅读(180) 评论(0) 推荐(0) 编辑
摘要: public class Goods{ String shanPinName; double size; double jiaGe; int kuCun;} import java.util.ArrayList;public class testGoods{ public static void m 阅读全文
posted @ 2019-03-13 10:07 ~王~ 阅读(117) 评论(0) 推荐(0) 编辑
摘要: import java.util.Random;public class lianxi{public static void main(String[] args){ String[] arr={"许锦迪","白小龙","赵帅","王启明","冯赟","曹正明","杜光明","李法勇","崔超波", 阅读全文
posted @ 2019-03-13 10:05 ~王~ 阅读(258) 评论(0) 推荐(0) 编辑
摘要: public class lianxi{ public static void main(String[] args){ int[] arr = new int[]{11,22,55,88,44,99}; int a=0; for(int i=0;i<arr.length-1;i++){ if(ar 阅读全文
posted @ 2019-03-13 10:03 ~王~ 阅读(115) 评论(0) 推荐(0) 编辑
摘要: /*public class zuoye{ public static void main(String[] args){ int sum=0; for(int i=0;i<=100;i++){ if(i%2==0){ sum=sum+i; } } System.out.println("1 100 阅读全文
posted @ 2019-03-13 08:32 ~王~ 阅读(149) 评论(0) 推荐(0) 编辑
摘要: /*import java.util.Scanner;public class zuoye{ public static void main(String[] args){ System.out.println("请输入考试成绩"); Scanner a= new Scanner(System.in 阅读全文
posted @ 2019-03-13 08:31 ~王~ 阅读(154) 评论(0) 推荐(0) 编辑
摘要: /*import java.util.Scanner;public class zuoye{ public static void main(String[] args){ System.out.println("请输入值"); Scanner a=new Scanner(System.in); i 阅读全文
posted @ 2019-03-13 08:30 ~王~ 阅读(405) 评论(0) 推荐(0) 编辑
摘要: /*import java.util.Scanner;import java.util.Random;public class lianxi1{ public static void main(String[] args){ Random a=new Random(); int d =a.nextI 阅读全文
posted @ 2019-03-13 08:29 ~王~ 阅读(106) 评论(0) 推荐(0) 编辑
摘要: //定义一个类/*public class zuoye{ //主方法 public static void main(String[] args){ //顶部 //控制台输出 System.out.println(" 商品库存清单 "); //控制台输出 System.out.println("品牌 阅读全文
posted @ 2019-03-13 08:28 ~王~ 阅读(87) 评论(0) 推荐(0) 编辑
摘要: public class lianxi1{ public static void main(String[] args){ int b = 123; int g = 123%120; int bai = 123/100; int shi = (123%100)/10; System.out.prin 阅读全文
posted @ 2019-03-13 08:27 ~王~ 阅读(79) 评论(0) 推荐(0) 编辑
摘要: public class jieri{ public static void main(String[] args){ double price=100; price=(price>=50)?price*0.88:price*1; System.out.println(price); }} 阅读全文
posted @ 2019-03-13 08:26 ~王~ 阅读(196) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript" src= "js/jquery-1.8.3.js"></script> <script type="t 阅读全文
posted @ 2019-03-13 08:25 ~王~ 阅读(70) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> function init(){ var d=document.getElementById("b"); var e=document.getEl 阅读全文
posted @ 2019-03-13 08:24 ~王~ 阅读(83) 评论(0) 推荐(0) 编辑
摘要: a{ text-decoration: none;}#body{ width: 1600px; height:900px; margin: auto;}.head1{ width: 1600px; height: 60px; background:#A60000;}.head1 #c1 a{ fon 阅读全文
posted @ 2019-03-13 08:23 ~王~ 阅读(101) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> function init(){ setInterval('a()',2000); } var i=2; function a(){ i++; d 阅读全文
posted @ 2019-03-13 08:22 ~王~ 阅读(77) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> function xianshi(id,xian){ document.getElementById(id+"span").innerHTML=" 阅读全文
posted @ 2019-03-13 08:21 ~王~ 阅读(77) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head><meta charset="utf-8"><title>网页题目</title></head><body><h1 align="center">阿达<span style="color:red">&lt;sad&gt;</span></h1>< 阅读全文
posted @ 2019-03-13 08:20 ~王~ 阅读(189) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <script type="text/javascript"> //增删改查 var arr=["张无忌","白起","王","灭绝师 阅读全文
posted @ 2019-03-13 08:19 ~王~ 阅读(108) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <!--<script> function ji(){ var sum=0; for(var i=1;i<100;i=i+2){ 阅读全文
posted @ 2019-03-13 08:18 ~王~ 阅读(89) 评论(0) 推荐(0) 编辑
摘要: <!--内部--><script>console.log("你好")/控制台输出/document.write("温度而知新")/*页面输出*/window.alert(“你好”)/弹出框/prompt("请输入你的名字",sasd)收集用户信息</script><!--外部--><script s 阅读全文
posted @ 2019-03-13 08:17 ~王~ 阅读(152) 评论(0) 推荐(0) 编辑