1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

[docs update]部分文章名称修改,利于 seo

This commit is contained in:
guide 2022-07-14 10:57:46 +08:00
parent ae31c081bf
commit 689d00f79f
16 changed files with 77 additions and 35 deletions

View File

@ -1,8 +1,27 @@
export const books = [
"cs-basics",
"database",
"search-engine",
"java",
"software-quality",
"distributed-system",
{
text: "计算机基础",
link: "cs-basics",
},
{
text: "数据库",
link: "database",
},
{
text: "搜索引擎",
link: "search-engine",
},
{
text: "Java",
link: "java",
},
{
text: "软件质量",
link: "software-quality",
},
{
text: "分布式",
link: "distributed-system",
},
];

View File

@ -1,9 +1,30 @@
export const openSourceProject = [
"tutorial",
"practical-project",
"system-design",
"tool-library",
"tools",
"machine-learning",
"big-data",
{
text: "技术教程",
link: "tutorial",
},
{
text: "实战项目",
link: "practical-project",
},
{
text: "系统设计",
link: "system-design",
},
{
text: "工具类库",
link: "tool-library",
},
{
text: "开发工具",
link: "tools",
},
{
text: "机器学习",
link: "machine-learning",
},
{
text: "大数据",
link: "big-data",
},
];

View File

@ -1,5 +1,5 @@
---
title: 计算机基础
title: 计算机基础必读经典书籍
category: 计算机书籍
icon: computer
head:

View File

@ -1,5 +1,5 @@
---
title: 数据库
title: 数据库必读经典书籍
category: 计算机书籍
icon: database
head:

View File

@ -1,5 +1,5 @@
---
title: 分布式
title: 分布式必读经典书籍
category: 计算机书籍
icon: distributed-network
---

View File

@ -1,5 +1,5 @@
---
title: Java
title: Java 必读经典书籍
category: 计算机书籍
icon: java
---

View File

@ -1,5 +1,5 @@
---
title: 搜索引擎
title: 搜索引擎必读经典书籍
category: 计算机书籍
icon: search
---

View File

@ -1,5 +1,5 @@
---
title: 软件质量
title: 软件质量必读经典书籍
category: 计算机书籍
icon: highavailable
head:

View File

@ -144,14 +144,6 @@ AOT 可以提前编译节省启动时间,那为什么不全部使用这种编
## 基本语法
### 字符型常量和字符串常量的区别?
1. **形式** : 字符常量是单引号引起的一个字符,字符串常量是双引号引起的 0 个或若干个字符。
2. **含义** : 字符常量相当于一个整型值( ASCII 值),可以参加表达式运算; 字符串常量代表一个地址值(该字符串在内存中存放位置)。
3. **占内存大小** 字符常量只占 2 个字节; 字符串常量占若干个字节。
(**注意: `char` 在 Java 中占两个字节**)
### 注释有哪几种形式?
Java 中的注释有三种:
@ -160,7 +152,9 @@ Java 中的注释有三种:
2. 多行注释
3. 文档注释。
3. 文档注释
在我们编写代码的时候,如果代码量比较少,我们自己或者团队其他成员还可以很轻易地看懂代码,但是当项目结构一旦复杂起来,我们就需要用到注释了。注释并不会执行(编译器在编译代码之前会把代码中的所有注释抹掉,字节码中不保留注释),是我们程序员写给自己看的,注释是你的代码说明书,能够帮助看代码的人快速地理清代码之间的逻辑关系。因此,在写程序的时候随手加上注释是一个非常好的习惯。
@ -185,6 +179,14 @@ Java 中的注释有三种:
> if (employee.isEligibleForFullBenefits())
> ```
### 字符型常量和字符串常量的区别?
1. **形式** : 字符常量是单引号引起的一个字符,字符串常量是双引号引起的 0 个或若干个字符。
2. **含义** : 字符常量相当于一个整型值( ASCII 值),可以参加表达式运算; 字符串常量代表一个地址值(该字符串在内存中存放位置)。
3. **占内存大小** 字符常量只占 2 个字节; 字符串常量占若干个字节。
(**注意: `char` 在 Java 中占两个字节**)
### 标识符和关键字的区别是什么?
在我们编写程序的时候,需要大量地为程序、类、变量、方法等取名字,于是就有了 **标识符** 。简单来说, **标识符就是一个名字**

View File

@ -1,5 +1,5 @@
---
title: 大数据
title: Java 优质开源大数据项目
category: 开源项目
icon: big-data
---

View File

@ -1,5 +1,5 @@
---
title: 机器学习
title: Java 优质开源机器学习项目
category: 开源项目
icon: a-MachineLearning
---

View File

@ -1,5 +1,5 @@
---
title: 实战项目
title: Java 优质开源实战项目
category: 开源项目
icon: project
---

View File

@ -1,5 +1,5 @@
---
title: 系统设计
title: Java 优质开源系统设计项目
category: 开源项目
icon: "xitongsheji"
---

View File

@ -1,5 +1,5 @@
---
title: 工具类库
title: Java 优质开源工具类库
category: 开源项目
icon: codelibrary-fill
---

View File

@ -1,5 +1,5 @@
---
title: 开发工具
title: Java 优质开源开发工具
category: 开源项目
icon: tool
---

View File

@ -1,5 +1,5 @@
---
title: 技术教程
title: Java 优质开源技术教程
category: 开源项目
icon: "book"
---