首先我们来测试,猜下下面程序的运行结果... 1 // 该类测试静态方法为什么不能被重写 2 public class Test1_Static { 3 4 public static void main(String[] args) { 5 Father f = new Father(); 6 f ...
分类:
其他好文 时间:
2020-03-10 21:55:02
阅读次数:
72
关键思想: 无; 关键点: 无; #include<iostream> #include<string> #include<vector> #include<map> using namespace std; const int maxn = 1020; int father[maxn]; int ...
分类:
其他好文 时间:
2020-03-06 09:12:26
阅读次数:
60
基本思想: 无; 关键点: 无; #include<iostream> #include<string> #include<vector> #include<map> using namespace std; const int maxn = 1020; int father[maxn]; int ...
分类:
其他好文 时间:
2020-03-06 01:25:41
阅读次数:
77
做移动端项目时,需要限制input框可输入内容长度。当时使用了keydown, keyup事件,但是在ios下不生效,代码如下: $('.father')('keydown keyup','input',function(){ console.log('限制可输入内容长度代码') }) 将keydo ...
分类:
移动开发 时间:
2020-02-25 17:41:34
阅读次数:
97
高度塌陷产生的原因: 高度塌陷: 当所有的子元素浮动的时候,且父元素没有设置高度,这时候父元素就会产生高度塌陷。 例如: .father{ width: 600px; /* 给父元素一个宽度 */ background-color: #008000; /* 给个背景颜色 */ } .child_1{ ...
分类:
其他好文 时间:
2020-02-23 22:20:12
阅读次数:
75
react获取dom元素 componentDidMount () { console.log(this.refs.father) } render () { return ( <div> <div ref="father"></div> </div> ) } componentDidMount ( ...
分类:
其他好文 时间:
2020-02-23 21:57:38
阅读次数:
71
一、技术总结 1. 这是一道并查集的题目,这里无非就是明白题目的含义,然后将套路用上基本上问题不大。 2. 一个是father数组用于存储父亲结点,isRoot用于存储根结点,如果题目需要,还可以建立一个course数组,用于存储,例如这个题目就是用于判断该该兴趣是否有人涉及。 3. findFat ...
分类:
其他好文 时间:
2020-02-23 16:27:02
阅读次数:
68
Unit one 词汇 hood 人生当中的某个阶段,childhood the state of being a child. 特指作为这种身份的一个阶段。fatherhood the state of being a father. 青少年 adolescence 注意发音的重音/??d.??l ...
分类:
其他好文 时间:
2020-02-20 13:23:29
阅读次数:
95
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> </style> </head> <body> <div class="father"> <div class ...
分类:
其他好文 时间:
2020-02-17 17:36:51
阅读次数:
64
|家庭成员|释义| | | | |I|我| |they|他们,她们,它们| |he|他| |she|她| |my|我的| |is|是| |am|是| |are|是| |like|喜欢| |name|名字| |family|家庭,家人| |parent|父亲,母亲| |father|父亲| |moth ...
分类:
其他好文 时间:
2020-02-14 16:57:59
阅读次数:
94