Java基础部分查缺补漏
Java基础部分查缺补漏JDK = JRE + 开发工具集(Javac)
JRE = JVM + Java SE
转义字符\n和\r‘\r’ 回车,回到当前行的行首,而不会换到下一行;
‘\n’ 换行,换到当前位置的下一行,而不会回到行首;
类型
占用空间(字节)
byte
1
short
2
int
4
long
8
float
4
double
8
char
2
一个字节8bit
符号位+指数位+尾数位(可能丢失)=浮点数
byte short char 可以计算为int,但不能转换
parse函数:将string转换为以上类型
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment