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 ~王~ 阅读(181) 评论(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 ~王~ 阅读(121) 评论(0) 推荐(0)
摘要: import java.util.Random;public class lianxi{public static void main(String[] args){ String[] arr={"许锦迪","白小龙","赵帅","王启明","冯赟","曹正明","杜光明","李法勇","崔超波", 阅读全文
posted @ 2019-03-13 10:05 ~王~ 阅读(266) 评论(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 ~王~ 阅读(122) 评论(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 ~王~ 阅读(155) 评论(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 ~王~ 阅读(160) 评论(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 ~王~ 阅读(433) 评论(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 ~王~ 阅读(119) 评论(0) 推荐(0)
摘要: //定义一个类/*public class zuoye{ //主方法 public static void main(String[] args){ //顶部 //控制台输出 System.out.println(" 商品库存清单 "); //控制台输出 System.out.println("品牌 阅读全文
posted @ 2019-03-13 08:28 ~王~ 阅读(93) 评论(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 ~王~ 阅读(88) 评论(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 ~王~ 阅读(206) 评论(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 ~王~ 阅读(93) 评论(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 ~王~ 阅读(90) 评论(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 ~王~ 阅读(113) 评论(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 ~王~ 阅读(81) 评论(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 ~王~ 阅读(80) 评论(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 ~王~ 阅读(199) 评论(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 ~王~ 阅读(115) 评论(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 ~王~ 阅读(93) 评论(0) 推荐(0)
摘要: <!--内部--><script>console.log("你好")/控制台输出/document.write("温度而知新")/*页面输出*/window.alert(“你好”)/弹出框/prompt("请输入你的名字",sasd)收集用户信息</script><!--外部--><script s 阅读全文
posted @ 2019-03-13 08:17 ~王~ 阅读(156) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style> body{ margin: 0px; } #a1{ width: 1903px; height: 100px; background: #F7F 阅读全文
posted @ 2019-03-13 08:16 ~王~ 阅读(82) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> #a0{ width: 400px; height: 800px; margin: auto; } a{ text-decoration: none 阅读全文
posted @ 2019-03-13 08:16 ~王~ 阅读(64) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> .a1{ width: 500px; height: 200px; border: 1px solid coral; } #a1-1{ width: 阅读全文
posted @ 2019-03-13 08:15 ~王~ 阅读(59) 评论(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:14 ~王~ 阅读(193) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html><head><meta charset="utf-8"><title></title></head><body><!--<a href="" target="_blank"新网页中打开 target="_self"当前页面打开默认href=“”名称javas 阅读全文
posted @ 2019-03-13 08:13 ~王~ 阅读(138) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html><head><meta charset="UTF-8"><title></title></head><body><h2 align="center">Flowers</h2><p><a href="#Daisy" target="_blank">Daisy< 阅读全文
posted @ 2019-03-13 08:12 ~王~ 阅读(161) 评论(0) 推荐(0)
摘要: <!!DOCTYPE html><html> <head> <title></title> <meta charset="utf-8"/> <style> .box{font-size: 48px;} body{background: darkgray; } </style> <bady > <sp 阅读全文
posted @ 2019-03-13 08:11 ~王~ 阅读(118) 评论(0) 推荐(0)
摘要: <!DOCTYPE> <html> <head><meta charset="utf-8"><title></title></head><body><h1 align="center">HTML <span style="color:red">&lt;Day01&gt;</span></h1><hr 阅读全文
posted @ 2019-03-13 08:11 ~王~ 阅读(130) 评论(0) 推荐(0)
摘要: <! <!DOCTYPE html><html></html><head></head><meta charst="utf-8"><title></title><body></body><b></b><br/><p></p><hr/><img src=""/><s></s><h1></h1><h 阅读全文
posted @ 2019-03-13 08:10 ~王~ 阅读(164) 评论(0) 推荐(0)
摘要: <! <!DOCTYPE html><html></html><head></head><meta charst="utf-8"><title></title><body></body><b></b><br/><p></p><hr/><img src=""/><s></s><h1></h1><h 阅读全文
posted @ 2019-03-13 08:09 ~王~ 阅读(97) 评论(0) 推荐(0)