变量

Java 中变量分为基本类型和引用类型

1
2
3
4
5
6
public class Main() {}
public void main(String[] args) {
int num = 10;
String s = "abc";
}
}

基本类型:

  • 数值型
    • 整型(byte short int long char)
    • 浮点型 ( float double)
  • 布尔型

引用类型

- 类
- 接口
- 数组

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 Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

0%