09 2017 档案

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

posted @ 2017-09-25 18:00 明确豆 阅读(89) 评论(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 明确豆 阅读(288) 评论(0) 推荐(0)

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 明确豆 阅读(197) 评论(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 明确豆 阅读(133) 评论(0) 推荐(0)

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 明确豆 阅读(112) 评论(0) 推荐(0)

导航