declare
declare是什么意思,declare怎么读 语音:
英音
[dɪ"kleə(r)]
美音 [dɪˈklɛr]
vt. 宣布;声明,声称;申报;[法]供述
vi. 声明,发表宣言;宣称
declare是一个英语单词,作动词时意为“宣布;声明;显示;断言”。它也可以用于编程语言中,如在Java中,它通常用于接口或枚举声明。在C#中,declare通常用于声明变量或方法。在JavaScript中,declare是可选的,用于声明模块或变量。在TypeScript中,declare可以用于声明任何东西,包括变量、函数、类、接口和枚举。使用declare可以让你在模块或全局作用域中声明变量或函数,即使它们在当前的模块或全局作用域中是不可用的。这可以让你在需要的时候使用它们,而不需要担心类型检查或命名冲突。
【记】de加强语义,clare=clear使…清晰明了-宣布
第三人称单数: declares
过去式: declared
过去分词: declared
现在分词: declaring
declare 公告
de-, 向下,强调。-clar, 清晰,明确,词源同clear, clarify.引申义公告。
用作动词(v.)
- I now declare this meeting open.
我现在宣布会议开幕。 - Britain declared war on Germany in 1914.
英国在1914年向德国宣战。 - The customs asked me if I had anything to declare.
海关人员问我是否有要报税的东西。 - Do you have anything to declare, jewelry or cash?
你有没有什么东西要申报?珠宝或现金? - He declared that he was innocent.
他声称自己是无罪的。
1. declare war on 对...宣战
2. declare oneself 表达自己
3. declare for 支持
4. declare against 反对
5. declare sth. true 声明某事是真的
6. declare sth. false 声称某事是错误的
7. declare sth. in public 当众宣布某事
8. declare sth. in private 私下宣布某事
9. declare sth. invalid 宣布某事无效
以上短语在英语中经常使用,可以帮助我们更好地表达自己的想法和意图。
以上是网校头条http://www.wangxiaotoutiao.com小编为您整理的declare单词相关内容。