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
Which is better arraylist or vector?
Is array serializable java?
Write a program based on Java script program.
What is the difference between declaration and definition in java?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
What carriage return means?
What is a finally block? Is there a case when finally will not execute?
Can we instantiate interface in java?
What is data string?
How many ways can we create singleton class?
What is difference between jdk,jre and jvm?
What are the super most classes for all the streams?
What are mutable classes?
What is the java project architecture?
Explain the difference between an Interface and an Abstract class?