Skip to content

Commit 1d16c2d

Browse files
committed
🎉Initial commit
📝Add README.md 📄Add LICENSE.txt 🙈Add .gitignore
0 parents  commit 1d16c2d

3 files changed

Lines changed: 79 additions & 0 deletions

File tree

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Compiled class file
2+
*.class
3+
4+
# Log file
5+
*.log
6+
7+
# BlueJ files
8+
*.ctxt
9+
10+
# Mobile Tools for Java (J2ME)
11+
.mtj.tmp/
12+
13+
# Package Files #
14+
*.jar
15+
*.war
16+
*.nar
17+
*.ear
18+
#*.zip
19+
*.tar.gz
20+
*.rar
21+
22+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23+
hs_err_pid*
24+

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 yansheng836
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# java-textbook-source
2+
3+
## 项目介绍
4+
5+
该项目整理了人民邮电出版社出版的、由耿祥义、张跃平编著的《Java程序设计实用教程》(第2版)(ISBN:978-7-115-38417-1)的书籍的源代码。
6+
7+
已整理成eclipse项目,测试环境为jdk1.8,编码为UTF-8。
8+
9+
![书籍图片](https://img11.360buyimg.com/n0/jfs/t1633/82/263571967/127638/8cb64d8e/556c320bNfe8389b6.jpg)
10+
11+
如果你想要获取未整理的源代码,下载zip压缩包即可(注意编码)。
12+
13+
14+
15+
## 特别提醒
16+
17+
1.虽然这是书籍的源码,但是有部分内容有所修改。
18+
19+
2.项目中可能会出现错误,注意不一定是程序错误,因为有可能是类名重复、还有可能是因为有些”实践题“是有留空的(需要自己填)等原因造成的。
20+
21+
3.因为这本书是java入门级书籍,所以里面难免会有一些不规范的地方,例如(下面为不规范的内容):
22+
23+
- 用中文命名包、类、方法、变量等。
24+
25+
- if语句只有一行时,不加大括号。
26+
27+
要多注意编码规范,可参考[《阿里巴巴Java开发手册(华山版)》](),详情可见:[p3c项目](https://github.com/alibaba/p3c)
28+
29+
30+
31+
## 声明
32+
33+
本项目仅用于学习交流使用,**禁止**进行商业目的的开发、发布、运营等。
34+

0 commit comments

Comments
 (0)