1、static:静态的静态对象不属于对象,它只属于一个类 class Person{ static
$type="小孩"; public $name; public $pwd;
}2、调用静态对象:person::$type类本身调用静态对象:self::$type3、extends:继承
分类:
其他好文 时间:
2014-05-26 13:12:08
阅读次数:
196
一. PL/SQL 与 SQL的交互1. 使用select语句.into是必须的,
查询只能返回一条或0条数据 declare v_fname employees.first_name%TYPE; --更正规的写法 --v_fname
varchar2(25); begin select first...
分类:
数据库 时间:
2014-05-26 09:59:44
阅读次数:
334
字体是我们在iPhone开发中经常需要用到的。但是iPhone里面到底内置了哪些字体呢?下面就是一个常用的列表。 Family name:
AppleGothic Font name: AppleGothic Family name: Hiragino Kaku Gothic ProN Font
n...
分类:
其他好文 时间:
2014-05-26 08:53:43
阅读次数:
212
1. Accept:告诉WEB服务器自己接受什么介质类型,*/* 表示任何类型,type/*
表示该类型下的所有子类型,type/sub-type。2. Accept-Charset: 浏览器申明自己接收的字符集Accept-Encoding:
浏览器申明自己接收的编码方法,通常指定压缩方法,是否支...
分类:
Web程序 时间:
2014-05-26 08:49:31
阅读次数:
223
写在前面的话XMLHttpRequest对象的open方法的第一个参数为request-type,取值可以为get或post.本篇介绍get请求.get请求的目的,主要是为了获取数据.虽然get请求可以传递数据,但传递数据的目的是为了告诉服务器,给我们什么内容.使用get请求时,参数都是随url进行...
分类:
其他好文 时间:
2014-05-26 07:57:01
阅读次数:
230
写在前面的话:XMLHttpRequest对象的open方法的第一个参数为request-type,取值可以为get或post.本篇介绍post请求.使用post方式时,浏览器会把各表单中字段元素及其数据作为Http消息的实体内容发送给Web服务器.使用post方式时,要注意设置Content-Ty...
分类:
其他好文 时间:
2014-05-26 07:51:19
阅读次数:
247
报错:Access restriction: The method
decodeBuffer(String) from the type CharacterDecoder is not accessible due to
restriction on required libraryAccess r...
分类:
数据库 时间:
2014-05-26 07:30:24
阅读次数:
279
onFling will get executed when a user makes a
"fling" motion, and said motion has a velocity with it to determine the type of
fling it was. However,.....
分类:
移动开发 时间:
2014-05-26 06:23:31
阅读次数:
443
ref: JNI typeThe mapping between the Java type
and C type is:Type SignatureJava
TypeZbooleanBbyteCcharDdoubleFfloatIshortJlongLobjectSshortVvoidLfull....
分类:
其他好文 时间:
2014-05-26 06:21:24
阅读次数:
203
-----------android培训、java培训、java学习型技术博客、期待与您交流!---------注解是java
的一个新的类型(与接口很相似),它与类、接口、枚举是在同一个层次,它们都称作为java
的一个类型(TYPE)。它可以声明在包、类、字段、方法、局部变量、方法参数等的前面,...
分类:
编程语言 时间:
2014-05-24 10:46:09
阅读次数:
294