/// /// 通过get方式发送xmlHttp请求,并获得响应数据/// ///
URL地址,参数直接写到后面,如:http://www.baidu.com/index.asp?id=7/// 请求和返回数据采用的编码方式,如
"gb2312" ,"utf-8"/// public static ...
分类:
Web程序 时间:
2014-06-09 20:06:12
阅读次数:
254
喝水不忘挖井人"; } public function voice(){ echo
"我的叫声是 汪汪汪~~~~"; } public function showColor(){ echo "我是一条黑色的狗"; }}class
Cat_bobo implements Animal{ publi.....
分类:
Web程序 时间:
2014-06-09 19:50:17
阅读次数:
202
class Program { //常量名一般全部大写 //private const
double PI = 3.14;//定义常量,private只能类内部使用 public const double PI = 3.14;/...
分类:
其他好文 时间:
2014-06-09 19:43:08
阅读次数:
255
If our web site hosted on web server canot be
accessed by other computer by public network, one of the possiblity is the
firewall setting is not confi...
//输出超过一半的数,如果没有则输出-1。通过编译,bymyselfimport
java.util.*;public class MoreThanHalf{ public static void main(String args[]){
int array[]={3,4,5,3...
分类:
其他好文 时间:
2014-06-09 19:32:47
阅读次数:
254
public class FileUtils { /// /// 文件下载 /// /// 页面参数
/// 文件源路径 /// 文件命名 public static void Fil...
分类:
其他好文 时间:
2014-06-09 19:32:02
阅读次数:
242
Person.java 1 package
cn.itcast.hiberate.sh.domain.onetoone; 2 3 import java.io.Serializable; 4 import
java.util.Set; 5 6 public class Person implem.....
分类:
系统相关 时间:
2014-06-09 19:26:44
阅读次数:
341
子类在继承父类后,创建子类对象会首先调用父类的构造函数,先运行父类的构造函数,然后再运行子类的构造函数,例如以下所看到的:class
Father{ public Father(){ System.out.println("I am father"); }}public class Child
e....
分类:
编程语言 时间:
2014-06-09 19:22:33
阅读次数:
203
public class CSVHelper {
System.Windows.Forms.SaveFileDialog saveFileDialog1;//保存 private string header =
string.Empty;//标题 //...
分类:
其他好文 时间:
2014-06-09 19:17:52
阅读次数:
322
public class CreateExcel { /// ///
用Excel组件导出Excel文件 /// /// /// /// /// public s...
分类:
其他好文 时间:
2014-06-09 19:07:56
阅读次数:
225