mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
[feat]jdk 版本支持情况
This commit is contained in:
parent
df768b76cc
commit
851c44e978
Binary file not shown.
Before Width: | Height: | Size: 57 KiB |
@ -109,7 +109,7 @@ Java 10 在现有的 CDS 功能基础上再次拓展,以允许应用类放置
|
|||||||
|
|
||||||
Java11 于 2018 年 9 月 25 日正式发布,这是很重要的一个版本!Java 11 和 2017 年 9 月份发布的 Java 9 以及 2018 年 3 月份发布的 Java 10 相比,其最大的区别就是:在长期支持(Long-Term-Support)方面,**Oracle 表示会对 Java 11 提供大力支持,这一支持将会持续至 2026 年 9 月。这是据 Java 8 以后支持的首个长期版本。**
|
Java11 于 2018 年 9 月 25 日正式发布,这是很重要的一个版本!Java 11 和 2017 年 9 月份发布的 Java 9 以及 2018 年 3 月份发布的 Java 10 相比,其最大的区别就是:在长期支持(Long-Term-Support)方面,**Oracle 表示会对 Java 11 提供大力支持,这一支持将会持续至 2026 年 9 月。这是据 Java 8 以后支持的首个长期版本。**
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### 字符串加强
|
### 字符串加强
|
||||||
|
|
||||||
@ -280,7 +280,7 @@ client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
|
|||||||
```
|
```
|
||||||
|
|
||||||
```java
|
```java
|
||||||
|
|
||||||
String json = """
|
String json = """
|
||||||
{
|
{
|
||||||
"name":"mkyong",
|
"name":"mkyong",
|
||||||
@ -323,12 +323,12 @@ client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
|
|||||||
final class Rectangle implements Shape {
|
final class Rectangle implements Shape {
|
||||||
final double length;
|
final double length;
|
||||||
final double width;
|
final double width;
|
||||||
|
|
||||||
public Rectangle(double length, double width) {
|
public Rectangle(double length, double width) {
|
||||||
this.length = length;
|
this.length = length;
|
||||||
this.width = width;
|
this.width = width;
|
||||||
}
|
}
|
||||||
|
|
||||||
double length() { return length; }
|
double length() { return length; }
|
||||||
double width() { return width; }
|
double width() { return width; }
|
||||||
}
|
}
|
||||||
|
0
docs/贡献指南.md
Normal file
0
docs/贡献指南.md
Normal file
Loading…
x
Reference in New Issue
Block a user