上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 68 下一页
import java.io.*;class Test{ public static void main(String args[]){ FileInputStream fin =null; FileOutputStream fout = null; ... Read More
posted @ 2014-05-24 11:43 tinyphp Views(1170) Comments(0) Diggs(0)
I/O是input/output的缩写,即输入输出端口。从 文件、键盘、网络 等输入到java程序,再从java程序输出到 文件、显示器、网络等分类:1、输入流 和 输出流2、字节流 和 字符流3、节点流 和 处理流核心方法:read、write字节流例子:文件读取//导入io包import jav... Read More
posted @ 2014-05-24 11:42 tinyphp Views(700) Comments(0) Diggs(0)
异常:编译正常,但运行出错,会中断正常指令流RuntimeException:运行时异常分为:uncheck exception、和check exception(除了RuntimeException以及子类以外的)uncheck exceptionclass Test{ public sta... Read More
posted @ 2014-05-22 10:15 tinyphp Views(282) Comments(0) Diggs(0)
内容涉及:php、分页、jquery、div+css实例下载:http://download.csdn.net/detail/roro5119/7373905index.php延迟加载" alt="" width="200" height="200">数据正在加载...异步文件:" alt="" w... Read More
posted @ 2014-05-20 11:43 tinyphp Views(10515) Comments(0) Diggs(0)
$(window).scrollTop(); 滚动条距顶部距离(页面超出窗口的高度)$(document).scrollTop(); 滚动条到顶部的垂直高度$(document).height() 页面的文档高度$(window).height() 窗口的高度高度 Read More
posted @ 2014-05-19 10:53 tinyphp Views(246) Comments(0) Diggs(0)
接口:打印机接口interface Printer{ public void read();}函数一:佳能打印机class CanPrinter implements Printer{ public void read(){ System.out.println("Canr... Read More
posted @ 2014-05-17 17:57 tinyphp Views(311) Comments(0) Diggs(0)
在不同包,子类继承后可以使用父类的protect权限的属性或方法父类:package com.tinyphp;public class Father{ protected String name;}子类:package com.test;import com.tinyphp.Father;cl... Read More
posted @ 2014-05-12 22:50 tinyphp Views(1883) Comments(0) Diggs(0)
访问权限四大类:权限从大->小1、public: 公共权限2、protected: 受保护权限3、default: 包级别访问权限/默认权限4、private: 私有权限以public为例,使用方法如下:public class Test{ public int i; publ... Read More
posted @ 2014-05-12 17:36 tinyphp Views(420) Comments(0) Diggs(0)
包名命名规范:1、包名全部小写2、包名一般情况下是域名的倒过来写+个性命名,如:tinyphp.com,就写成com.tinyphp+.xxx打包方法package + 包名package test; class Test{..} 尝试打包cmd运行上面的代码:E:\d>javac -d... Read More
posted @ 2014-05-10 09:28 tinyphp Views(364) Comments(0) Diggs(0)
效果图过程:1、滤镜->渲染->云彩2、滤镜->模糊->高斯模糊3、滤镜->杂色->添加杂色 ,数量104、滤镜->模糊->径向模糊5、滤镜->锐化->USM锐化6、图层样式->渐变叠加 Read More
posted @ 2014-05-09 16:08 tinyphp Views(4537) Comments(0) Diggs(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 68 下一页