1子类和父类返回值参数相同,函数名相同,有virtual关键字,则由对象的类型决定调用哪个函数。2子类和父类只要函数名相同,没有virtual关键字,则子类的对象没有办法调用到父类的同名函数,父类的同名函数被隐藏了,也可以强制调用父类的同名函数class::funtion_name。3子类和父类参数...
分类:
编程语言 时间:
2014-08-30 20:22:59
阅读次数:
233
JVM(Java Virtual Machine Java虚拟机)可以理解为是一个虚拟出来的计算机,具备着计算机的基本运算方式,它主要负责将java程序生成的字节码文件解释成具体系统平台上的机器指令。让具体平台如window运行这些Java程序。JRE(Java Runtime Environmen...
分类:
编程语言 时间:
2014-08-30 20:22:09
阅读次数:
205
Problem Description
Sudoku is a popular single player game. The objective is to fill a 9x9 matrix with digits so that each column, each row, and all 9 non-overlapping 3x3 sub-matrices contain all o...
分类:
其他好文 时间:
2014-08-30 11:18:09
阅读次数:
286
Methods and systems are provided to control the execution of a virtual machine (VM). A VM Monitor (VMM) accesses VM Control Structures (VMCS) indirect...
分类:
其他好文 时间:
2014-08-30 01:10:40
阅读次数:
383
1、其实rails c 控制台每次读取的都是model里的文件且不会自动更新,所以增加字段时,要在在model文件里面先写上字段,然后重启rails c 才能查到该字段2、 增加字段: rails g migration add_column_to_model 字段名:类型 然后迁移任务, 之后想....
分类:
其他好文 时间:
2014-08-29 21:19:08
阅读次数:
202
61.You frequently have multiple RMAN sessions running, and you want to be able to easily identify each
job via the CLIENTJNFO column of the dynamic performance view V$SESSION. What RMAN command
can ...
分类:
其他好文 时间:
2014-08-29 20:08:08
阅读次数:
261
我看先看一个例子:public class A{ public int a = 10; public virtual void Fun1() { Console.WriteLine("1"); -------A1 } public virtual void Fun3() { Console.Writ...
分类:
其他好文 时间:
2014-08-29 17:57:28
阅读次数:
182
-- 查询字段在什么表select * from all_tab_cols t where t.column_name='ABC';-- 查询字段在什么表并且 判断是否是主键select * from all_tab_cols t left join ( ...
分类:
数据库 时间:
2014-08-29 17:47:38
阅读次数:
207
数据库备份:D:\Program Files\PostgreSQL\9.2\bin> pg_dump -h localhost -U postgres -C --column-inserts -f E:/dbname.sqldbname数据库恢复:D:\Program Files\PostgreSQ...
分类:
数据库 时间:
2014-08-29 15:53:58
阅读次数:
262
在网上看到好多方法,结果拿来用还是出现了一些问题。现在整理一下1、主键类import javax.persistence.Column;public class UserRoleUionPK implements java.io.Serializable { /** * */...
分类:
系统相关 时间:
2014-08-29 14:37:18
阅读次数:
217