标记注释没有变量。
单一值注释与标记注释类似,但提供一段数据。
Single-value annotations are similar to markers, but provide a single piece of data.
您应该还记得第1部分中曾经提到,标记注释没有成员变量。
As you should remember from Part 1, marker annotations have no member variables.
* So at top left we have a slash and a star - and that says everything that follows that-- those symbols is just a comment.
在左上角,大家可以看到,这是用来告诉大家,所有跟在它后面的-,标记都只是注释而已。
应用推荐