- Java 11 and 12:New Features
- Mala Gupta
- 65字
- 2021-07-02 12:27:02
Type inference versus dynamic binding
The use of type inference with var isn't pushing Java towards the dynamic binding domain. Java is still a strongly-typed static language. The type inference in Java is syntactic sugar. The compiler infers the type and adds it to the bytecode. In dynamic binding, a variable type is inferred at runtime. This can lead to more errors being discovered later.
推薦閱讀
- MySQL數據庫管理實戰
- Vue.js前端開發基礎與項目實戰
- Instant Zepto.js
- Architecting the Industrial Internet
- 嚴密系統設計:方法、趨勢與挑戰
- Java Web程序設計任務教程
- 軟件測試技術指南
- Visual C#.NET Web應用程序設計
- 單片機原理及應用技術
- Python預測分析實戰
- Continuous Delivery and DevOps:A Quickstart Guide Second Edition
- Clojure Data Structures and Algorithms Cookbook
- Getting Started with Windows Server Security
- Python編程零基礎入門
- IBM Cognos Insight