answersLogoWhite

0


Best Answer

Finally is used in exception blocks:

try

{

...

}

catch(...)

{

...

}

finally

{

...

}

Finally is used if you need to do something in case if an exception was occurred. And if it cannot be done in the catch block.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the use of a finally clause?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the noun clause in the sentence What if your great dream is that people will finally truly love one another?

The noun clause is: "that people will finally truly love one another", which relates back to the noun 'dream' as the direct object of the verb 'is'. The noun clause is functioning as a subject complement as the object of a linking verb.


What is a clause in English?

a clause is a phrase were you use detail commas


What is the clause congress use to get more power?

The elastic clause is the clause that Congress uses to get more power.


Do you use a comma to separate a dependent clause and a verb?

No, a comma is not used to separate a dependent clause and a verb. Instead, a comma is used to separate the dependent clause from the independent clause.


When you have dependent clause followed by independent clause what punctuation you need to use?

comma


Do use a comma after the word that?

Yes, you should use a comma after the word "that" when it introduces a dependent clause in a sentence. This helps clarify the relationship between the main clause and the dependent clause.


Can you use a semicolon to separate an independent clause from a dependent clause?

Yes, a semicolon can be used to separate an independent clause from a dependent clause when the two clauses are closely related in meaning. However, it is more common to use a comma in this situation.


Which clause in article 6 section 2 of the constitution could the federal government use to override the states bills of rights?

The supremacy clause gave the federal government the ability to override the states bill of rights.


How do you use Clause in a sentence?

you just did =D


How do you use finally in sentence?

I had finally outrun .....


What is the noun clause your great dream is people with truly love one another?

The noun clause is: "that people will finally truly love one another", which relates back to the noun 'dream' as the direct object of the verb 'is'. The noun clause is functioning as a subject complement as the object of a linking verb.


What is the noun clause in this sentence Brad's one worry that he would use up his inheritance never came true?

The noun clause in the given sentence is "that he would use up his inheritance".This relative clause functions as an appositive (a word or phrase renaming something earlier in the sentence). This relative clause 'relates' to the noun 'worry', the subject of the sentence.