java
文章平均质量分 71
baixlzju
键上人生
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java 集合
java集合 l Java集合框架 l Collection接口API l Iterator迭代器接口(遍历集合中的元素) l Collection子接口之一:Set接口 Ø HashSet LinkedHashSet TreeSet l Collection子接口之二: List接口 Ø ArrayList LinkedList Vector l Ma原创 2014-12-17 22:52:21 · 409 阅读 · 0 评论 -
交换x,y的三种方式
1 值传递: #include using namespace std; int main(){ void change(int ,int); int x=2,y=3; cout<<"交换前:x="<<x<<" y="<<y<<endl; change(x,y); cout<<"交换后:x="<<x<<" y="<<y<<endl; return 0; } void原创 2014-12-17 22:51:27 · 3243 阅读 · 0 评论 -
设置Eclipse编码方式
1、windows->Preferences...打开"首选项"对话框,左侧导航树,导航到 general->Workspace,右侧Text file encoding,选择Other,改变为UTF-8,以后新建立工程其属性对话框中的Text file encoding即为UTF-8。 2、windows->Preferences ——> general->Content Types,右侧Con原创 2014-12-17 22:51:21 · 440 阅读 · 0 评论 -
java IO
java IO 主要内容 java.io.File类的使用 IO原理及流的分类 文件流 FileInputStream / FileOutputStream / FileReader / FileWriter 缓冲流 BufferedInputStream / BufferedOutputStream / BufferedRea原创 2014-12-17 22:52:33 · 501 阅读 · 0 评论
分享