What is "finally" keyword?

Answer Posted / sravanthi

In the finally block we usually have code that is used to
perform clean up activities corresponding to the code in the
try block.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is outofmemoryerror in java?

571


What are the java ide's? Explain

528


Can we use a switch statement with strings?

554


What is return data type?

563


What is skeleton and stub? What is the purpose of those?

542






Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1610


What is internal variable?

542


Define linked list and its features with signature?

544


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

518


What data type is a string?

515


Variables used in a switch statement can be used with which datatypes?

524


Define locale.

591


How to provide security in java

1806


How do you override a method?

554


What is ternary operator in java?

598