Java中的内部类共分为四种: 静态内部类static inner class (also called nested class) 成员内部类member inner class 局部内部类local inner class 匿名内部类anonymous inner class静态内部类S...
分类:
编程语言 时间:
2015-12-11 18:23:36
阅读次数:
212
class Program { static void Main(string[] args) { ParentClass test = new SubClass(); test.doSomething();/*结果:Pa...
动态类型public static IEnumerable Query (this IDbConnection cnn, string sql, object param = null, SqlTransaction transaction = null, bool buffered = true)...
分类:
移动开发 时间:
2015-12-11 15:09:08
阅读次数:
199
Altering a Partition Function: SPLIT and MERGEPartition functions are not static: They can change over time, and their changes propagate through the p...
分类:
其他好文 时间:
2015-12-11 14:56:58
阅读次数:
400
今天主要是实践BootStrap,模仿着做一下登陆页这一年多来公司项目用的是EasyUI,用来做ERP、CMS之类的后台管理不错,各种交互基本够用,但样式就不怎么样了。BootStrap比较注重前端,更美观大方,主要在html里控制。一、引入csspublic static string Stati...
分类:
Web程序 时间:
2015-12-11 08:38:23
阅读次数:
199
is-a关系 类包含关系构造 拷贝构造函数 重载福值运营商 析构函数动态内存分配和释放 new delete操作static 数据成员好友功能 重载输入>>输出#include using namespace std;class person {private: char *name; int ag...
分类:
编程语言 时间:
2015-12-11 08:37:19
阅读次数:
200
//使用方法 ExcelHelper.dataTableToCsv(dt,@"D:\1212.xls");System.Diagnostics.Process.Start(@"c:\1.xls"); //打开excel文件 public static void dataTableTo...
分类:
Web程序 时间:
2015-12-10 23:59:36
阅读次数:
367
1.定位(position)position的值有:relative/absolute/fixed/static/inherit;static:为position属性的默认值,static元素会遵循正常的文档流,且会忽略top,bottom,left,right等属性;inherit:如同其他css...
分类:
Web程序 时间:
2015-12-10 23:39:19
阅读次数:
258
1 package codeTask_FangFa; 2 // 5.30 双素数就是两个相差为2的素数。程序显示所有小于1000的双素数。按照格式显示。 3 public class ShuangSuShu { 4 public static void main(String[...
分类:
编程语言 时间:
2015-12-10 21:41:23
阅读次数:
616
position属性一共有4个值,分别是static、absolute、relative、fixed。 static为默认值,指块保持在原本应该在的位置上,即该值没有任何移动的效果。 absolute属性是参照浏览器的左上角,配合top、right、bottom、left进行定位,在没有设定...
分类:
Web程序 时间:
2015-12-10 21:27:27
阅读次数:
116