摘要: package Demo3;import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Date;import javax.xml.crypto.Data;public class DemoTe 阅读全文
posted @ 2019-03-25 19:58 白云之间 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: import java.util.HashMap;import java.util.Iterator;import java.util.Map.Entry;import java.util.Set;public class MapMap { public static void main(Strin 阅读全文
posted @ 2019-03-22 22:32 白云之间 阅读(3404) 评论(0) 推荐(0) 编辑
摘要: import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Date;public class BirthDay { public static void main(String[] args) 阅读全文
posted @ 2019-03-21 22:15 白云之间 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: import java.util.Date;public class DateText { public static void main(String[] args) { //获取时间原点 1970年一月一日 Date date1=new Date(0); System.out.println(d 阅读全文
posted @ 2019-03-21 21:06 白云之间 阅读(158) 评论(0) 推荐(0) 编辑
摘要: import java.util.Calendar;import java.util.Scanner;public class RunNian { public static void main(String[] args) { //创建Scanner对象 ,提示用户输入要测试的年份 Scanner 阅读全文
posted @ 2019-03-21 20:34 白云之间 阅读(349) 评论(0) 推荐(0) 编辑
摘要: public class DemoText { public static void main(String[] args) { fun(); } public static void fun(){ String s="heLLo"; String s2=s.substring(0,1); Syst 阅读全文
posted @ 2019-03-18 22:19 白云之间 阅读(1183) 评论(0) 推荐(0) 编辑
摘要: public class DemoText { public static void main(String[] args) { fun1(); } public static void fun1(){ String s = "hello word Ok Yes hello hello"; int 阅读全文
posted @ 2019-03-18 22:18 白云之间 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: 克莱托指数 公式 :体重(kg) / (身高(m) * 身高(m)) < 20 : 偏瘦 > 20 <25 : 正常 > 25 : 偏旁 步骤: 1、输入体重(weight) 、 身高(height) 并且保存 2、计算克莱托指数(klt) 3、判断 klt 的范围 4、使用多重if结构完成判断 w 阅读全文
posted @ 2019-03-07 15:37 白云之间 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1、数据类型转换 允许数据在各个类型之间灵活的转变 数据类型:number,string,boolean,null,undefined var a = 123; var b = "123"; var c = 1.23; var result = b +56; 拼接 隐式转换 不需要认为参与,由程序自 阅读全文
posted @ 2019-03-07 15:29 白云之间 阅读(158) 评论(0) 推荐(0) 编辑
摘要: JavaScript和HTML、CSS的区别 1. HTML:提供网页的结构,提供网页中的内容 2. CSS: 用来美化网页 3. JavaScript: 可以用来控制网页内容,给网页增加动态的效果 JavaScript初体验(JavaScript的书写位置) CSS:行内样式、嵌入样式、外部样式 阅读全文
posted @ 2019-02-26 13:47 白云之间 阅读(229) 评论(0) 推荐(0) 编辑