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
function loadScript(url, callback){
var script = document.createElement ("script")
script.type = "text/javascript";
if (script.readyState){ //IE
script.onreadystatechange = function(){
if (script.read...
分类:
编程语言 时间:
2014-05-11 15:07:11
阅读次数:
316
public class TestA {
private String ta="我是类TestA"; public String fiall() {//System.out.println(this.ta);return ta; }}
上面第一个类,作为父类
------------------------------------------------------------------...
分类:
编程语言 时间:
2014-05-11 03:37:10
阅读次数:
358
对文件I/O中的read、write、lseek函数详细分析,并给出示例及应用...
分类:
系统相关 时间:
2014-05-11 01:38:46
阅读次数:
464
方法名称:hover(over, out)
概述:当鼠标移动到一个匹配的元素上面时,会触发指定的第一个函数。当鼠标移出这个元素时,会触发指定的第二个函数。 参数: 1)overFunction
鼠标移到元素上要触发的函数 2)outFunction 鼠标移出元...
分类:
Web程序 时间:
2014-05-10 22:57:07
阅读次数:
530
客户端正常关闭socket的时候,服务器端的readLine()方法会返回null,或者read()方法会返回-1
分类:
编程语言 时间:
2014-05-10 22:27:48
阅读次数:
522
1 #!/usr/bin/python 2 #coding:utf8 3 import re 4
import urllib 5 6 def gethtml(url): 7 page=urllib.urlopen(url) 8
html=page.read() 9 ret...
分类:
编程语言 时间:
2014-05-10 18:39:47
阅读次数:
399
远程访问500,404:错误信息,看得见;100,300,200:成功,看不见。ZMLHttpQequest对象属性:readyState对象状态(integer)0=未初始化
1=读取中 2=已读取 3=交互中 4=完成
分类:
其他好文 时间:
2014-05-10 06:45:03
阅读次数:
243
configure: error: APR not found. Please read the documentation.
configure: error: APR-util not found. Please read the documentation....
分类:
其他好文 时间:
2014-05-10 04:20:35
阅读次数:
316
#键盘键入两个整数,并计算它们之和#!/bin/bash##echo-n"InputtwoIntergers:"read-t5-p"InputtwoIntergers[100and200]:"AB[-z$A]&&A=100[-z$B]&&B=200echo"$Aplus$Bis:$[$A+$B]"#归档文件的脚本#!/bin/bash#read-p"Threefiles:"FILE1FILE2FILE3read-p"Destinat..
分类:
系统相关 时间:
2014-05-10 04:08:25
阅读次数:
475