[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
·12.array1=array2 是将array1指向array2所指向的对象类和对象
·13.局部变量必须初始化才能使用,成员变量就不用--有默认初始值 (成员变量未初始化 基本数据类型char : '\u0000' )
·14. this只能在成员方法中使用
·15. 静态代码块只会执行一次,实例不是(创造对象才会被执行)
浅浅做了一些习题 发现的不会的知识点!
1. 重载: 1. 方法名必须相同
2. 参数列表必须不同(参数的个数不同、参数的类型不同、类型的次序一定不同)
3. 与返回值类型是否相同无关
重写: 返回值和形参都不能改变(修饰符 返回值类型 方法名(参数列表) 要完全一致)
父类被static、private修饰的方法、构造方法都不能被重写
2. 抽象方法不能是 private 的
抽象方法不能被final和static修饰,因为抽象方法要被子类重写
3. 数组是一个对象,不同类型的数组具有不同的类
4. >>是算术右移操作符;>>>是逻辑右移操作符
<<是算术左移操作符;<<<是逻辑左移操作符
5. 只有变量才能使用自增/自减运算符,常量不能使用,因为常量不允许被修改
6. 标识符是用于给Java程序中变量、类、方法等命名的符号。可以由英文数字下划线开头,不能以数字开头
7. 接口图
8. JDK—开发工具 JDK中提供的java、javac、jar等开发工具也是用Java编写的
JRE—运行环境
JVM—JAVA虚拟机
JVM(C/C++代码实现的)软件模拟的一个硬件
9. 链表不要动头
10. 数组,链表,栈,队列都属于线性结构;二叉树属于非线性结构
11. 链表的各个结点之间是通过指针连接的,所以要删除或者插入某一个结点的话,只需要改变 链表相关结点的指针即可,不必移动结点