第2讲 Java语法基础(11)

2021-01-20 15:21

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).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:C++ C语言 程序设计 简单的学生成绩管理系统

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: