摘要
Java中的构造方法是构建对象的必经之路,其中有着深刻的哲学思想和严谨的科学态度。尤其在继承中更是有着纷繁复杂的表象,这些表象背后隐藏着诸多的玄机。该文立足于日常教学,对该问题进行了较为深入的探究,通过具体的例子逐步得到解答问题的钥匙,并结合设计模式进行了初步的探讨。最后结合这些思考,提出了一些不成熟的建议,以期更为深入的交流和探究。
The constructor of Java is to construct the object's path,which has a profound philosophical thinking and rigorous scientific attitude.Especially in the inheritance with complicated surface,the surface behind many of the mystery.Based on daily teaching,the problem is the more in-depth to explore,through concrete examples of key answer questions step by step,and combined with design pattern has carried on the preliminary discussion.These thoughts,finally put forward some immature Suggestions,in order to more in-depth exchanges and explore.
出处
《电脑知识与技术》
2013年第8X期5436-5440,共5页
Computer Knowledge and Technology
关键词
构造方法
继承
设计模式
探究思维
内部类
construction method
inheritance
design pattern
to explore the thinking
inner class