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
第2讲 Java语法基础(11)
2021-01-20 15:21
第2讲 Java语法基础(11).doc
将本文的Word文档下载到电脑
下载失败或者文档不完整,请联系客服人员解决!