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
How do you make an arraylist empty in java?
Describe different states of a thread.
Define an abstract class with reference to java.
What is a dynamic array in java?
What are the types of java?
Explain the use of shift operator in java. Can you give some examples?
Why there are some null interface in java? What does it mean?
Are private methods final?
What does system.gc() and runtime.gc() methods do?
Name few java.lang classes introduced with java 8 ?
What data structures are used to perform recursion?
How can you make a class serializable in java?
What are the advantages of assembly language?
How are the elements of a gridbaglayout organized?
Where is const variable stored?