本文主要是介绍SCJP复习笔记(一)J2SE概要,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
JAVA Reresher
1> Class ----类
2> Object ----实例对象
3> State(instance variables)----状态:实例变量
4> behavior (Method) ----行为:方法
Identifiers and Keywords
KEY WORD: identifiers(标示符) legal(语法约束) keywords(保留字)
KEY INFO : Java programmers (and Sun) have created conventions for naming methods, variables, and classes.
Inheritance
KEY INFO : The superclass knows nothing of the classes that inherit from it,
but all of the subclasses that inherit from the superclass must explicitly declare the inheritance relationship.
but is also free to override superclass methods to define more specific behavior.
Interface
KEY INFO : Interfaces are like a 100-percent abstract superclass that defines the methods a subclass must support, but not how they must be supported.
Finding Other Classes
KEY INFO : Java organizes classes into packages, and uses import statements to give programmers a consistent way to manage naming of, and access to, classes they need.
这篇关于SCJP复习笔记(一)J2SE概要的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!