forked from CPU-Code/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJava_Doc.java
More file actions
50 lines (42 loc) · 769 Bytes
/
Java_Doc.java
File metadata and controls
50 lines (42 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package annotation.javaDoc;
/**
* 注解javadoc演示
* 使用GBK编码
* @author cpucode
* @version 1.0
* @since 1.5
*/
public class Java_Doc {
/**
* 计算两数的和
* @param a 整数
* @param b 整数
* @return 两数的和
*/
/****
* @Description: add
* * @param a
* @param b
* @return: int
* @Author: cpucode
* @Date: 2020/11/9
*/
public int add(int a, int b ){
return a + b;
}
/**
* @Description: summ
* @Param: [a, b]
* @return: int
* @Author: cpucode
* @Date: 2020/11/9 tab+a+/
*/
public int summ(int a,int b){
return a+b;
}
}
/*
* 操作
* <img src="https://gitee.com/cpu_code/picture_bed/raw/master/20201111131241.png"/>
*
* */