摘要
构造方法是Java语言中一个基本且重要的知识点。正确和熟练地使用构造方法,对掌握Java和面向对象编程非常重要。文章介绍了构造方法的概念和作用、对构造方法的调用和继承性进行了详细分析,并简单介绍了构造方法的访问权限。
Constructor is a basic and important knowledge point in Java programming.Using constructor correctly and expertly is very important for mastering Java and Object-Oriented Programming.The article describes the concept and function of con structor,analyses the calling and inheritance of constructor in detail,and simply introduces the access level of constructor.
出处
《电脑知识与技术(过刊)》
2012年第9X期6276-6278,6286,共4页
Computer Knowledge and Technology