| Start |
|---|
New Java SE 7 programming language features
|
Binary Literals |
| The try-with-resources statement The example reads the first line from a file. It uses an instance of In this example, the resource declared in the try-with-resources statement is a |
| Underscores in Numeric Literals The following example shows other ways you can use the underscore in numeric literals: You can place underscores only between digits; you cannot place underscores in the following places:
|
| Type Inference for Generic Instance Creation You can use instead of However, you can't use because it can't compile. Note that the diamond often works in method calls; however, it is suggested that you use the diamond primarily for variable declarations. |
Strings in switch Statements Remarks |
Read Article
https://develop.horje.com/learn/1434/reference