- 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.
推薦閱讀
- OpenShift開發指南(原書第2版)
- 程序員面試算法寶典
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- 微信小程序入門指南
- Unity Game Development Scripting
- Hands-On Functional Programming with TypeScript
- Haxe Game Development Essentials
- Web Development with MongoDB and Node(Third Edition)
- 小程序,巧應用:微信小程序開發實戰(第2版)
- .NET 4.5 Parallel Extensions Cookbook
- C++語言程序設計
- Java程序設計基礎(第6版)
- Mastering Concurrency in Python
- 物聯網系統架構設計與邊緣計算(原書第2版)
- Akka入門與實踐