What is the translation of " FINALLY BLOCK " in Chinese?

['fainəli blɒk]
['fainəli blɒk]
finally块

Examples of using Finally block in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Finally block always get executed.
Finally代码块总是会被执行。
The code inside the finally block is always executed.
但是在finally块中的代码总是会执行。
Finally block used to close resources.
最后是用于关闭资源的块.
The code in the finally block will always be executed.
但是在finally块中的代码总是会执行。
Any code cannot be present in between the try, catch, finally blocks.
任何代码不能出现在try,catch,finally块之间。
The finally block is always executed.
Finally代码块总是会被执行。
If you forget to write a finally block you have a bug.
当然,如果你忘了写这个finally代码块,你也就制造了一个BUG。
Java finally block is always executed whether an exception is handled or not.
Javafinally块总是会执行,无论异常是否被处理。
Exit(0), the code in the finally block will not be executed.
Exit(0),finally块中的代码不会被执行。
The finally block is useful for cleaning up any resources allocated in the try block..
Finally块用于清除在try块中分配的任何资源。
Try block must be followed by catch or finally block or both.
Try代码块后面必须跟有catch代码块、finally代码块,或两者都有。
Code in finally block is always executed.
但是在finally块中的代码总是会执行。
A try block musthave at least one catch clause or a finally block.
一个try语句必须带有至少一个catch语句块或一个finally句块
How does finally block differ from finalize() method?
Finally码块和finalize()方法有什么区别??
If the catch block completes abruptly for reason R,then the finally block is executed.
如果由于R原因,catch块突然完成,则finally块被执行。
You can use finally block which will always execute unconditionally after the try/catch.
可以使用finally块将永远try/catch语句后,无条件地执行。
When an exception is thrown in the try block,the execution immediately passes to the finally block.
当一个异常被抛出在try块中,执行立即传递到finally块
Also, an optional finally block will be executed regardless of whether an exception is thrown or not.
同时,一个finally句块会被执行,无论一个异常是否被抛出。
DoSomething were a more complex method,with multiple return points and a few try/catch/finally blocks.
DoSomething的源码更加复杂,包含多处return和一些try/catch/finally块
Finally: The finally block is optional and can be used only with thetry-catch block..
Finally:finally块是可选的,并且只能配合try-catch一起使用。
Otherwise, when control reaches the end point of the finally block, processing of the current exception is continued.
否则,当控制到达finally块的结束点时,将继续对当前异常的处理。
Finally blocks, and ensure that you close any open connections within the finally block, Here is a short example:.
Finally块,确保在finally块中关闭任何已打开的连接。
The try block mustbe followed by either exactly one catch block or one finally block(or one of both).
Try块必须后跟只有一个catch块或者一个finally块(或两者之一)。
Last thing to mention is that the finally block is used to release resources like I/O buffers, database connections, etc.
最后值得提的是,finally块常用来释放资源,比如I/Obuffer,数据库连接等。
You can achieve the same result by putting the object inside a try block andthen calling Dispose in a finally block;
通过将对象放入try块中,并在调用finally块中的Dispose,可以获得相同的结果;.
In a try-with-resources statement, any catch or finally block is run after the resources declared have been closed.
在try-with-resources语句中,任何catch或finally块都在声明的资源关闭后运行。
They lost him round several corners, and when they came to one of thegates of the Earl's Court Exhibition they found themselves finally blocked.
他们失去了他几个角落,当他们来到一个伯爵法庭的大门展览他们发现自己终于阻止了
Using a finally block, it lets you run any cleanup type statement that you want to execute, no matter what happens in the protected code.
使用finally块允许你运行您想要执行的任何cleanup-type语句,无论在受保护的代码中发生什么。
When and if control reaches the end point of a finally block, control is transferred to the finally block of the next enclosing try statement.
当(如果)控制到达该finally块的结束点时,控制就转到下一个封闭try语句的finally块
Using a finally block allows you to run any cleanup-type statements that you want to execute, no matter what happens in the protected code.
使用finally块允许你运行您想要执行的任何cleanup-type语句,无论在受保护的代码中发生什么。
Results: 131, Time: 0.0262

Word-for-word translation

Top dictionary queries

English - Chinese