检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]咸阳师范学院信息工程学院,陕西咸阳712000 [2]礼泉实验中学,陕西咸阳713200
出 处:《攀枝花学院学报》2016年第2期25-28,共4页Journal of Panzhihua University
摘 要:从方法重载、覆盖以及对象类型转换三个方面对Java语言的多态性进行了全面地分析。通过实例代码详细分析了方法覆盖的注意事项和上转型对象的特性,说明了多态性在代码设计时的应用。旨在希望Java程序设计人员能更好地利用多态性,开发高效、灵活、健壮的Java程序。This paper makes a comprehensive analysis to the polymorphism of Java language from the three perspectives:method overloading,overriding andobject typeconversion.Through the example code analysis,it analyzes in detail about the matters needs attention in method overriding,introduces the characteristics of transition objects and illustrates the applicationof polymorphism incode design.Hopefully,Java programmer can make better use of polymorphism to design the efficient,flexible androbust Java application.
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.70