码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
java 实例化是调用了子类重写方法
java 实例化时调用了抽象方法或者class里面某个方法,如果子类有重写改方法,实际运行的是子类重写方法 运行结果: from childA classfrom childB classfrom Father class ...
分类:编程语言   时间:2016-11-18 12:05:57    阅读次数:143
js实现div居中
...
分类:Web程序   时间:2016-11-18 12:05:03    阅读次数:209
每天一道LeetCode--169.Majority Elemen
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the ...
分类:其他好文   时间:2016-11-18 12:02:01    阅读次数:131
将12小时制改为24小时制
如果不是做项目遇到,我大概永远都不会知道12小时制的上午12点就是夜里零点,囧~(个人习惯24小时制) 首先区分12小时制和24小时制的对应关系,以下按照时间顺序列出了几个关键的时间点: 以下代码实现了两种时间之间的转换,直接从自己项目的源代码中截取,所以先解释下各个变量的意义: 记录自己学习的过程 ...
分类:其他好文   时间:2016-11-18 11:44:18    阅读次数:234
DataTable 常用操作
//定义表结构 DataTable dt = new DataTable(); dt.Columns.Add("FactoryId"); 或dt.Columns.Add(new DataColumn("CODE", typeof(string))); dt.TableName = "TbFactor ...
分类:其他好文   时间:2016-11-18 09:46:37    阅读次数:176
PID--增量型--002
...
分类:其他好文   时间:2016-11-18 07:33:12    阅读次数:112
kndo grid:通过checkbox 实现多选和全选
在kendo grid 里要想通过checkbox 实现多选和权限,我们就要通过templeate 和input 标签对kendo grid 进行自定义 1. 在column 里面加入一列checkbox 然后实现全选方法 as follow image: code: demo: http://do ...
分类:其他好文   时间:2016-11-18 07:27:04    阅读次数:416
第八次作业
1.八个一换行没整明白。。。 2.老师上课讲了这个了 #include<stdio.h>int main(){ int b[10][10]; int i; int j; for(i=0;i<9;i++) for(j=0;j<9;j++) { b[i][j]=(i+1)*(j+1); } for(i= ...
分类:其他好文   时间:2016-11-18 07:13:26    阅读次数:181
Leetcode 134 Gas Station
There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it cost ...
分类:其他好文   时间:2016-11-18 07:08:53    阅读次数:183
160809307 张浩飞(8)
...
分类:其他好文   时间:2016-11-18 07:07:29    阅读次数:93
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!