SlideServe Logo
  • Browse
    • Recent Presentations
    • Recent Articles
    • Content Topics
    • Updated Contents
    • Featured Contents

    • PowerPoint Templates
    • Presentation
    • Article
    • Survey
    • Quiz
    • Lead-form
    • E-Book
  • Pro
  • Upload

Instanceof - PowerPoint PPT Presentation


第十章 类型检查

第十章 类型检查

第十章 类型检查. 运行时类型识别 (RTTI) 的概念 : 当只有一个指向对象基类的引用时 ,RTTI 机制可以让你找出这个对象的确切类型. 为什么需要 RTTI. 复习一下多态和向上转型 例 :Shapes.java. Class 对象. 理解 RTTI 在 Java 中的工作原理 例 :SweetShop.java. 类型转换前先做检查. RTTI 的形式包括 : 传统的类型转换 代表对象的类型的 Class 对象 关键字 instanceof 例 :AssociativeArray.java 例 :PetConunt.java

★ ★ ★ ★ ★

245 views • 10 slides



View Instanceof PowerPoint (PPT) presentations online in SlideServe. SlideServe has a very huge collection of Instanceof PowerPoint presentations. You can view or download Instanceof presentations for your school assignment or business presentation. Browse for the presentations on every topic that you want.

  • English
  • Français
  • About
  • Privacy
  • DMCA
  • Blog
  • Contact
© 2026 SlideServe. All rights reserved.