摘要
构造方法是面向对象程序中在创建对象时系统自动调用的一个方法,与其他方法相比,该方法在语法和应用上都具有一些特殊性。基于此,重点介绍Java语言中构造方法的特点、定义及使用方法。
Construcor is a method that is automatically called when the object is created in the object orientedprogram, and the method has some special characteristics in grammar and application compared w ith othermethods. Based on this, this paper m ainly introduced the characteristics, definition and using method inJava language.
出处
《河南科技》
2016年第3期37-38,共2页
Henan Science and Technology