提交 8602a398 编写于 作者: CSDN-Ada助手's avatar CSDN-Ada助手

第10章注解结构修改

上级 74218dbe
{
"type": "code_options",
"author": "clong",
"source": "Annotation.md",
"exercise_id": "",
"notebook_enable": true
}
\ No newline at end of file
# Annotation
下列关于 `Annotation` 的说法错误的是:
## 答案
```
注解不会被编译成class文件
```
## 选项
### A
```
注解也被称为元数据,即以形式化的方式向代码中添加数据
```
### B
```
注解的定义: publc @interface Test{}
```
### C
```
java目前仅支持5种元注解,元注解是对注解的注解
```
......@@ -19,6 +19,6 @@
}
}
],
"export": [],
"export": ["Annotation.json"],
"title": "基本语法"
}
\ No newline at end of file
{
"node_id": "java-2d843168cf7c4d45b9e10bef5dd38424",
"keywords": [],
"children": [],
"export": [],
"title": "限定重写父类方法:@Override"
}
\ No newline at end of file
{
"node_id": "java-2c4700ed3f94441a89ae1ce9cefb2acc",
"keywords": [],
"children": [],
"export": [],
"title": "Java 9增强的@Deprecated"
}
\ No newline at end of file
{
"node_id": "java-53d85a25b0254b2ab2912c3ef05f9b44",
"keywords": [],
"children": [],
"export": [],
"title": "抑制编译器警告:@SuppressWarnings"
}
\ No newline at end of file
{
"node_id": "java-13e41a9fcdc348b180c14ff7c50883f3",
"keywords": [],
"children": [],
"export": [],
"title": "“堆污染”警告与Java 9增强的@SafeVarargs"
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册