1、选择表达式中的类型转换public class Test { public void static
main(String args[]){ int i = 5; System.out.println("Vlaue Is " + ((...
分类:
编程语言 时间:
2014-05-12 09:39:52
阅读次数:
294
package com.ctl.util;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.Connection;
impo...
分类:
数据库 时间:
2014-05-11 21:04:49
阅读次数:
501
效果图:
此程序主要的知识点是:SimpleAdapter本身是不支持网络图片的, 如果在Map.put(a,b)中 b为一个Bitmap,程序不会报红色字体,而是在控制台输出绿色的字体,如下
05-10 15:46:45.474: I/System.out(846): resolveUri failed on bad bitmap uri: android.graph...
分类:
移动开发 时间:
2014-05-11 20:35:03
阅读次数:
506
一、选择题1.php的源代码是 (A )A.开放的 B.封闭的 C.需购买的
D.完全不可见的2.php的输出语句是 ( C )A.out.print B.response.write C.echo D.
scanf3.php的中标量类型中整型类型的英文单词是 (C )A.boolean B.str...
分类:
其他好文 时间:
2014-05-11 17:07:58
阅读次数:
464
Java
mysql的模版,很优雅。同时也兼顾了性能PreparedStatement和安全性(防SQL注入)两方面。对于比较简单的数据库操作基本满足要求。package
dao;import java.sql.Connection;import java.sql.DriverManager;imp...
分类:
数据库 时间:
2014-05-11 15:51:27
阅读次数:
354
全局安装forevernpm install -g forever 查看帮助forever
-h查看安装位置whereis forever编写自己的sh文件 forever -p web文件路径 -l 路径/access.log -e
路径/error.log -o 路径/out.log -a --...
分类:
Web程序 时间:
2014-05-11 15:28:31
阅读次数:
315
public class TestA {
private String ta="我是类TestA"; public String fiall() {//System.out.println(this.ta);return ta; }}
上面第一个类,作为父类
------------------------------------------------------------------...
分类:
编程语言 时间:
2014-05-11 03:37:10
阅读次数:
358
方法名称:hover(over, out)
概述:当鼠标移动到一个匹配的元素上面时,会触发指定的第一个函数。当鼠标移出这个元素时,会触发指定的第二个函数。 参数: 1)overFunction
鼠标移到元素上要触发的函数 2)outFunction 鼠标移出元...
分类:
Web程序 时间:
2014-05-10 22:57:07
阅读次数:
530
iwangzheng.com16:57 [root@a02.cmsapi]$ mysql
-u-p -h10.103.xx.xxWelcome to the MySQL monitor. Commands end with ; or \g.Your
MySQL connection id is 57...
分类:
数据库 时间:
2014-05-10 20:57:56
阅读次数:
441
set conn=server.CreateObject("adodb.connection")
set rs=server.CreateObject("adodb.recordset")
cnpath="data source=" & server.MapPath("question.mdb")
conn.open "provider=microsoft.jet.oledb.4.0;...
分类:
其他好文 时间:
2014-05-10 04:59:38
阅读次数:
304