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

Answer Posted / busi

Nothing happend , if any information should be displayed on
console we can use this finally block.Irrespective of code
execution the jvm will display the message on console.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of integer?

683


How do you declare a string variable?

622


What is the difference between a loader and a compiler?

601


How do you create an array in java?

625


What is the difference between private & public & friendly classes?

647






What is stack example?

647


What is the difference between applet and application?

623


What is assembly language?

638


What is composition in java?

811


Can a abstract class be declared final?

658


Does .length start 0 java?

668


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

881


Write a method that will remove given character from the string?

662


What is a package in java? List down various advantages of packages.

857


What is the use of bufferedreader?

639