需要掌握的知识点: 包的使用 继承时,子类如何覆盖父类方法(重写和重载) 继承时,构造方法的执行过程 JVM中子类如何实例化(先实例化父,再实例化子) super和this关键字 final关键字 包的导入 import java.util.Scanner; public class Package ...
分类:
编程语言 时间:
2020-07-03 21:43:59
阅读次数:
77
android7.0以上的手机https抓包失败,安装了https证书也不行,是因为android7.0+的版本安卓新增了证书验证,需要修改配置 ...
分类:
移动开发 时间:
2020-07-03 17:53:07
阅读次数:
106
1.react项目导入PropTypes报错: Typo in static class property declaration react/no-typos 如果使用PropTypes一直报错,先看看是不是大小写的问题,应该是propTypes 参考文章: https://blog.csdn.n ...
分类:
其他好文 时间:
2020-07-03 12:38:30
阅读次数:
188
继承 继承:让子类拥有父类的所有属性和方法 父类,也被称为超类 python支持多继承,Java 不支持多继承,但支持多重继承。 类属性和方法的添加不会因为继承而受到任何影响。 对象属性是怎么被继承: 继承的时候因为__init__方法被继承,间接继承了对象属性。 在子类的__init__方法中通过 ...
分类:
编程语言 时间:
2020-07-02 22:05:16
阅读次数:
181
select case superguid when '0' then name else (select LISTAGG(name,'.') WITHIN GROUP(ORDER BY levelno) from busfw_t_dchead where tablecode = 'BDM_T_HC ...
分类:
数据库 时间:
2020-07-02 18:20:35
阅读次数:
57
1.类名.__mro__ 可打印参看函数的所有父类 2.super()方法 class Master(object): def __init__(self): self.kongfu = '[古法煎饼果子配方]' def make_cake(self): print(f'运用{self.kongfu ...
分类:
其他好文 时间:
2020-07-02 13:22:12
阅读次数:
52
JVM class文件格式 魔法数 CAFE BABE 编译器版本号 Constant count Constant pool access flag this class super class interface count interfaces field count fields metho ...
分类:
其他好文 时间:
2020-07-01 20:22:12
阅读次数:
65
参考:https://blog.csdn.net/hellobenji/article/details/79978701 https://www.jianshu.com/p/5f3953bc012e 在开发项目过程中,startActivityForResult是最常见的,它的使用场景就是:比如从A ...
分类:
其他好文 时间:
2020-07-01 14:14:30
阅读次数:
66
A Ministry for Defense sent a general to inspect the Super Secret Military Squad under the command of the Colonel SuperDuper. Having learned the news, ...
分类:
其他好文 时间:
2020-06-30 22:37:23
阅读次数:
61
解除正在死锁的状态有两种方法: 查询是否锁表 show OPEN TABLES where In_use > 0; 查询进程(如果您有SUPER权限,您可以看到所有线程。否则,您只能看到您自己的线程) show processlist 杀死进程id(就是上面命令的id列) kill id 第二种: ...
分类:
其他好文 时间:
2020-06-30 17:18:48
阅读次数:
116