- Java 11 and 12:New Features
- Mala Gupta
- 66字
- 2021-07-02 12:27:02
Code refactoring
Type inference with var was introduced to reduce the verbosity of the Java language. It will help the programmers to be more concise in their methods. The compiler infers the type of the variables declared using var and inserts it in the bytecode. There is no need to refactor existing or legacy code, replacing explicit data types of local variables with var.
推薦閱讀
- 華為HMS生態(tài)與應(yīng)用開發(fā)實戰(zhàn)
- JavaScript+jQuery開發(fā)實戰(zhàn)
- Unity Virtual Reality Projects
- Visual Basic程序設(shè)計與應(yīng)用實踐教程
- Redis Essentials
- Yocto for Raspberry Pi
- Elasticsearch for Hadoop
- OpenCV 4計算機視覺項目實戰(zhàn)(原書第2版)
- 小程序,巧應(yīng)用:微信小程序開發(fā)實戰(zhàn)(第2版)
- Hands-On Nuxt.js Web Development
- 從零開始學Android開發(fā)
- Java程序設(shè)計教程
- Learning Unreal Engine Game Development
- Test-Driven iOS Development with Swift
- Google Adsense優(yōu)化實戰(zhàn)