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
What is the size of integer?
How do you declare a string variable?
What is the difference between a loader and a compiler?
How do you create an array in java?
What is the difference between private & public & friendly classes?
What is stack example?
What is the difference between applet and application?
What is assembly language?
What is composition in java?
Can a abstract class be declared final?
Does .length start 0 java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
Write a method that will remove given character from the string?
What is a package in java? List down various advantages of packages.
What is the use of bufferedreader?