上一页 1 ··· 10 11 12 13 14
摘要: class 类名称{ 方法; 属性;}类名称 对象名称 = new 类名称();对象名称.方法;对象名称.属性; 阅读全文
posted @ 2017-01-13 10:13 894316728 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 一.集合可以理解为一个动态的对象数组,不同的是集合中的对象内容可以任意扩充。 二.Collection接口子类: 1.list接口子类: (1)ArrayList:JDK1.2之后推出;采用异步处理方式,性能高;属于非线程安全。 1 package com.example; 2 3 import j 阅读全文
posted @ 2017-01-09 11:20 894316728 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-01-09 10:04 894316728 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-01-08 13:21 894316728 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1.直接赋值:string str= “hello”; 2.new(因为堆里面开辟了两块内存空间所以不常用):string str = new string(); 3.str内容不可更改 例:string str1 = “hello”; system.out.println(str1 + “worl 阅读全文
posted @ 2017-01-08 13:13 894316728 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1.输出 2.输入 3.基本数据类型及其转换 阅读全文
posted @ 2017-01-07 08:57 894316728 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 参考的三篇文章:https://www.zhihu.com/question/24565362#answer-17187332 http://wenwen.sogou.com/z/q128566269.htm http://m.blog.csdn.net/qq_35649088/article/de 阅读全文
posted @ 2017-01-07 08:51 894316728 阅读(1219) 评论(0) 推荐(1) 编辑
摘要: JVM:Java虚拟机。所有的java程序首先被编译为class的类文件,这种类文件可以在虚拟机上执行。也就是说class文件并不直接与机器的操作系统相对应,而是经过虚拟机间接与操作系统交互。 JRE:Java运行环境。JRE包括JVM、语言和工具基础库、集成库、工具集等。与大家所熟知的JDK不同, 阅读全文
posted @ 2017-01-06 20:41 894316728 阅读(243) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14