摘要: equals和hashCode详解 http://www.cnblogs.com/Qian123/p/5703507.html 阅读目录 equals()方法详解 hashcode() 方法详解 Hashset、Hashmap、Hashtable与hashcode()和equals()的密切关系 j 阅读全文
posted @ 2021-02-08 20:57 yyComeOn 阅读(70) 评论(0) 推荐(0)
摘要: 0、String构造器 ConstructorDescription String() Initializes a newly created String object so that it represents an empty character sequence. String(byte[] 阅读全文
posted @ 2021-02-07 22:59 yyComeOn 阅读(73) 评论(0) 推荐(0)
摘要: 一、二者的含义 throw: 抛出异常,交与上一层或者调用层处理 try/catch: 捕获异常,在本方法内处理 二、举个小栗子 首先继承Exception类创建一个自己的异常类 public class MyException extends Exception { // 写两个构造函数,方便使用 阅读全文
posted @ 2021-02-06 22:24 yyComeOn 阅读(494) 评论(0) 推荐(0)
摘要: 6、操作BOM对象(重点) 浏览器介绍 JavaScript和浏览器关系? JavaScript诞生就是为了能够让他在浏览器中运行! BOM:浏览器对象模型 浏览器内核: IE 6~11 Chrome SAfari FireFox 第三方浏览器(使用上述内核): QQ浏览器 360浏览器 windo 阅读全文
posted @ 2021-02-05 21:50 yyComeOn 阅读(154) 评论(0) 推荐(0)
摘要: 4、内部对象 标准对象 typeof 12 "number" typeof '123' "string" typeof true "boolean" typeof NaN "number" typeof [] "object" typeof {} "object" typeof Math.abs " 阅读全文
posted @ 2021-02-04 22:30 yyComeOn 阅读(92) 评论(0) 推荐(0)
摘要: Java的常见类 一、Scanner 1、使用next()方法: import java.util.Scanner; public class ScannerDemo { public static void main(String[] args) { Scanner scan = new Scan 阅读全文
posted @ 2021-02-03 17:28 yyComeOn 阅读(102) 评论(0) 推荐(0)
摘要: 1、快速入门 1.1、引入js <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!-- <script>--> <!-- alert("hello word!");--> <!- 阅读全文
posted @ 2021-02-02 22:26 yyComeOn 阅读(130) 评论(0) 推荐(0)
摘要: HTML框架 <frameset cols="25%,50%,25%"> ​ <frame src="/example/html/frame_a.html"> <frame src="/example/html/frame_b.html"> <frame src="/example/html/fra 阅读全文
posted @ 2021-02-01 21:45 yyComeOn 阅读(89) 评论(0) 推荐(0)
摘要: HTML HTML(比较杂) <body>和</body>之间的文本是可见的页面内容 标签含义:<h1></h1>:标题h1到h6标题逐渐变小 <p></p>:段落 <a></a>:链接标签,注意使用方式例如: This is a link ​ <img>图像标签,注意使用方式例如: ​ <img 阅读全文
posted @ 2021-01-31 22:43 yyComeOn 阅读(71) 评论(0) 推荐(0)
摘要: 在java中String类为什么要设计成final? - 胖君的回答 - 知乎 阅读全文
posted @ 2021-01-30 21:43 yyComeOn 阅读(36) 评论(0) 推荐(0)