What will happen if we cannot mention "finally" in Java
Program ???

Answer Posted / ashok

no problem.if we declare it is better.because compulsory
statements are written in finally block.

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a method inside a interface be declared as final?

503


How does compareto work in java?

545


What is the simpletimezone class in java programming?

511


How to use arraylist in java netbeans?

480


Difference between ‘>>’ and ‘>>>’ operators in java?

612






Which class is used by server applications to obtain a port and listen for client requests?

472


What's a method in programming?

524


What are loops in java? What are three types of loops?

524


Which java ide is used the most?

488


Explain the significance of listiterator.

559


Can an integer be null java?

529


What is thread synchronization in java?

457


What is appletviewer?

540


What does || || mean in math?

499


Can I declare a class as private?

559