2017年10月3日

Numbers and Strings

摘要: 一、Numbers java中自动进行数字和数字对象的转换( Autoboxing and Unboxing) 1、格式化输出常用函数有: system.out.println print system.out.format 2、数学函数的支持 import static java.lang.Mat 阅读全文

posted @ 2017-10-03 21:45 明确豆 阅读(107) 评论(0) 推荐(0) 编辑

2017年9月25日

java 中细节

摘要: 只要这个类被加载,Java 虚拟机 就能根据类名在运行时数据区的方法区内定找到他们。因此,static对象可以在它的任何对象创建之前访问,无需引用任何对象。 用public修饰的static成员变量和成员方法本质是全局变量和全局方法,当声明它类的对象市,不生成static变量的副本,而是类的所有实例 阅读全文

posted @ 2017-09-25 18:00 明确豆 阅读(82) 评论(0) 推荐(0) 编辑

Interfaces and Inheritance 接口与继承

摘要: 一、接口 In the Java programming language, an interface is a reference type, similar to a class, that can contain only constants, method signatures, defau 阅读全文

posted @ 2017-09-25 15:59 明确豆 阅读(252) 评论(0) 推荐(0) 编辑

2017年9月23日

Java win7环境安装

摘要: 一、下载JDK安装 二、配置环境变量 1、新建classpath “.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar “(注意是”“里的内容)直接复制即可。 2、新建JAVA_HOME 变量值为之前安装jdk的目录,例如本人的为”E:\Program Files 阅读全文

posted @ 2017-09-23 22:07 明确豆 阅读(185) 评论(0) 推荐(0) 编辑

When to Use Nested Classes, Local Classes, Anonymous Classes, and Lambda Expressions

摘要: As mentioned in the section Nested Classes, nested classes enable you to logically group classes that are only used in one place, increase the use of 阅读全文

posted @ 2017-09-23 16:52 明确豆 阅读(124) 评论(0) 推荐(0) 编辑

2017年9月9日

Java 学习 类和对象

摘要: 课程目的: With the knowledge you now have of the basics of the Java programming language, you can learn to write your own classes. In this lesson, you wil 阅读全文

posted @ 2017-09-09 16:47 明确豆 阅读(104) 评论(0) 推荐(0) 编辑

2017年8月12日

Java 语言基础

摘要: 主要涉及: 变量:涉及定义、变量范围 操作符:+ - * / 括号等运算符 声明和表达式 控制流:条件控制判断 the decision-making statements (if-then, if-then-else, switch), the looping statements (for, w 阅读全文

posted @ 2017-08-12 11:40 明确豆 阅读(109) 评论(0) 推荐(0) 编辑

2017年8月9日

Java 学习 面向对象学习

摘要: 主要涉及:对象、类、继承、接口、封装。 一、What is Object? 什么是对象:对象就是状态和行为的集合。 对象一般通过变量 variable 存储,行为通过方法实现method. 使用对象的好处: 便于调试、便于隐藏细节、便于重用、便于实现松耦合。 二、什么是class A class i 阅读全文

posted @ 2017-08-09 18:15 明确豆 阅读(133) 评论(0) 推荐(0) 编辑

2017年8月3日

J2SE 学习资料

摘要: 目前最新的是版本8,对于Oracle公司来讲对于J2SE的两个产品是:JDK8 和 JRE8. 具体官方文档见:http://docs.oracle.com/javase/8/docs/ 另外在学习时可以找下网上的java 学习路线图进行参考学习。 阅读全文

posted @ 2017-08-03 22:42 明确豆 阅读(113) 评论(0) 推荐(0) 编辑

导航