摘要
类是Java程序的基本单元。构建用户自定义类是Java编程的核心工作。在分析了Java类的属性和方法的基本特征的基础上,进一步深入探讨了Java的用户自定义类,并结合应用实例提出了利用面向对象的封装、继承技术来构建Java用户自定义类的具体方法。
The class is the basic unit of Java programs.Construction the class of user-defined is the core work in Java programming.After analyzing the basic characteristics of the properties and methods of the Java class,further discusses the Java class of user-defined,a method to build the Java class of user-defined with the use of encapsulation and inheritance technology in object-oriented is put forward and some examples are presented to show.
出处
《电脑知识与技术》
2011年第11X期8226-8229,共4页
Computer Knowledge and Technology
关键词
Java自定义类
封装
继承
构建
Java class of user-defined
encapsulation
inheritance
construction