前面LZ已经充分介绍了有关于List接口的大部分知识,如ArrayList、LinkedList、Vector、Stack,通过这几个知识点可以对List接口有了比较深的了解了。只有通过归纳总结的知识才是你的知识。所以下面LZ就List接口做一个总结。推荐阅读: java提高篇(二一)-----ArrayList java提高篇(二二)-----LinkedList...
分类:
编程语言 时间:
2014-07-14 13:24:55
阅读次数:
328
package cn.itcast.day2;public class ReflectTest { public static void main(String[] args) throws Exception { String str1 = "abc"; Class cls1 = str1.g.....
分类:
其他好文 时间:
2014-07-13 20:39:12
阅读次数:
224
Parentheses Balance题意:括号匹配#include #include int main(int argc, char *argv[]){ char ch, stack[200]; int i = 0, flag = 0, n, j; scanf("%d%*c", ...
分类:
其他好文 时间:
2014-07-13 20:01:12
阅读次数:
195
异常截图:原因很简单,Hadoop对应的eclipse插件jar包版本不对,更换至响应版本即可。
分类:
编程语言 时间:
2014-07-13 19:48:47
阅读次数:
323
1. PLSQL基本使用
注:1. 三段 declare
Begin
Exception
End;
2. 声明:emp.ename%type;
和字段的属性相同。
3. begin: select 带查询自动 into
存储变量。
4. 条件语句:
(1)if then
...
分类:
数据库 时间:
2014-07-13 18:49:06
阅读次数:
305
写c++程序时我们经常会把函数的定义写在xxx.h中,把函数的实现写在xxx.cpp, 但是当我们写带模版的函数和类时,这样写
就会出现问题,如下:
stack.h
//stack.h
#ifndef STACK_HPP
#define STACK_HPP
#include
#include
template>
class CStack
{
public:
void push(co...
分类:
其他好文 时间:
2014-07-13 18:30:56
阅读次数:
214
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
How far can you make a stack of cards overhang a table? If you have one card, yo...
分类:
其他好文 时间:
2014-07-13 18:24:15
阅读次数:
365
1、错误描述
2014-7-13 17:20:50 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [jsp] in context with path [/FirstSSH] threw exception [/pages/student.jsp (line: 3, c...
分类:
Web程序 时间:
2014-07-13 18:12:48
阅读次数:
251
2014年7月13日
半年前开始,项目组测试MM在验证功能时,经常报怨讲测试环境上的应用在启动时很慢,偶尔会报失败,遇到类似问题多数情况下重新启动一次就可以启动成功,但少数时候也有反复启动不成功的案例。当启动失败时,日志里有如下的异常,看起来似乎和网络有关。
java.sql.SQLRecoverableException: I/O Exception: Connection ...
分类:
数据库 时间:
2014-07-13 18:03:51
阅读次数:
415
<?phpdefined(‘ACC‘)||exit(‘AccessDenied‘);classModel{protected$db=null;publicfunction__construct(){try{$this->db=mysql::getIns();}catch(Exception$e){//$e就是前文中throw出来的$error(Exception的实例)//$e对象有一些方法和属性,能准确判断出问题的行.$err=‘‘;..
分类:
Web程序 时间:
2014-07-13 14:48:25
阅读次数:
193