1.2 and Reserved Words 绪Keyword 论The following are class, method, and/or variable modifiers: abstract Used to declare a class that cannot be instantiated, or a method that must be implemented by a nonabstract subclass. (抽 象类:不可建立实例;抽象方法:必由非抽象子类予以实现) final Makes it impossible to extend a class, override a method, or reinitialize a variable. (最终类:不可继承;最终方法:不可重载;最 终变量:不能再次初始化) class Keyword used to specify a class. interface Keyword used to specify an interface. (接口类) extends Used to indicate the superclass that a subclass is extending. (扩展:指定被继承的超类) implements Used to indicate the interfaces that a class will implement. (实现:指定被实现的接口类) new Used to instantiate an object by invoking the constructor. (激活构造方法,实例出一个对象) Java Programming, spring, 2012
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库第2讲 Java语法基础(11)在线全文阅读。
相关推荐: