try
try是什么意思,try怎么读 语音:
英音 [traɪ]
美音 [traɪ]
- 基本解释
n. 尝试,实验;[橄]触球,(因触球获得的)向球门踢球的权利
- try是什么意思?
try在编程中通常是一个关键字,用于执行一段可能会引发异常的代码。如果这段代码引发了异常,那么try/catch块(通常包含一个或多个catch块)会被执行,以处理这个异常。这有助于防止程序因为未处理的异常而崩溃。此外,try也可以用于调试,因为它通常会输出一些日志信息,帮助开发者理解代码的运行情况。
- 速记技巧
- 变化形式
过去式: tried
过去分词: tried
现在分词: trying
易混淆的单词: Try
- 中文词源
try 尝试,试图,审理,审判
来自古法语 trier,选择,选出,分开,词源不详。可能置换自古法语 tirer,拉出,拔出,来自 Proto-Germanic*terana,撕,撕开,来自 PIE*der,撕,撕开,词源同 tear,tier.引申诸相关词义。
- 双语例句
用作动词(v.)
- This idea seems good but you need to try it out.
这个想法似乎不错,但是需要试验一下。 - I think I'll try my luck at roulette.
我想玩玩轮盘赌碰碰运气。 - He is trying his best to understand his meaning.
他正在尽力弄明白他的意思。 - Don't try to smooth over your faults.
不要设法掩饰你的过错。 - He is trying his best to understand his meaning.
他正在尽力弄明白他的意思。 - A youth was tried in the criminal court for stealing.
一个青年因偷窃罪而在刑事庭受审。 - His courage was severely tried by his ordeal.
他的勇气在艰难困苦中经受了严峻的考验。
用作名词(n.)
- After a few tries they decided to give up.
试了几次后,他们决定放弃。 - I just don't see why we shouldn't give it a try.
我不明白怎么就不能试一下。
- 常用短语
try out:试验,试用
try one's best:尽某人最大的努力
try to do:试图做某事
not to try:不尝试
trying to do:试图做某事
trying one's best:尽某人最大的努力
以上是留学之路(www.lxroad.com)小编为您整理的try单词相关内容。