1. 静态内部类(static inner class) :只能访问外部类的静态成员变量与静态方法,生成静态内部类对象的方式为: OuterClass.InnerClass inner = new OuterClass.InnerClass();2. 成员内部类(member inner clas....
分类:
编程语言 时间:
2014-12-28 18:06:50
阅读次数:
210
1 template 2 class List // 一个 namespace scope class template 3 { 4 public: 5 template // 一个 member function template 6 List (List con...
分类:
其他好文 时间:
2014-12-28 10:24:57
阅读次数:
105
《Effective C++》学习笔记——条款24:若所有参数皆需类型转换,请为此采用non-member函数...
分类:
编程语言 时间:
2014-12-27 00:20:20
阅读次数:
255
《Effective C++》学习笔记——条款23:宁以 non-member 、 non-friend 替换 member 函数...
分类:
编程语言 时间:
2014-12-26 11:13:24
阅读次数:
226
引言假设我们有这样的类:1 class A{2 public:3 A(int num = 0, int den = 1) {};4 int num() const;5 int den() const;6 const A operator* (const A& rhs)...
分类:
编程语言 时间:
2014-12-25 12:42:11
阅读次数:
95
The current time is 12:00 noon. You want to recover the USERS tablespace
from a failure that occurred at 11:50 a.m. You discover that
the only member of an unarchived redo log group containing inf...
分类:
数据库 时间:
2014-12-25 10:01:47
阅读次数:
264
Spring+Hibernate做项目, 发现有member在不加事务的情况下就去调用 getSession() 方法, 结果导致数据库连接不能释放, 也无法正常的提交事务(只能做查询, 不能做save(), update()). 如果配合连接池使用的话, 不出几...
分类:
Web程序 时间:
2014-12-22 18:11:00
阅读次数:
326
In your database, online redo log files are multiplexed and one of the
members in a group is lost due to media failure?
How would you recover the lost redo log member?
A.import the database fr...
分类:
数据库 时间:
2014-12-21 19:31:51
阅读次数:
253
You are using an Automatic Storage Management (ASM) instance to m
anage the files of your production database. You have two disk groups
, DG1and DG2 with one device each. In the parameter file of th...
分类:
数据库 时间:
2014-12-21 19:31:13
阅读次数:
266
AssistX->Listboxes->Enable Visual Assist completion, suggestion and member list in ..如果勾选了该项就会引起智能感知挡住了当前代码输入行。(此种情况仅发生在AssistX集成于2005/2008,2010以后即使勾选...
分类:
其他好文 时间:
2014-12-21 15:12:06
阅读次数:
210