Answer Posted / pathan muzafar
Finally is a keyword which is used execute the blocks after try and catch blocks even if exception occured or not in both try and catch block.
Note: Here,Block means collection of statements(variables,methods etc)....
Exception means Run time error during execution
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is boolean data type in java?
Which collection is best for sorting in java?
how to handle exceptions in ejb?
How do you check if two strings are equal in java?
What methods are used in Servlet?Applet communication?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What is a substitution variable?
Why call by value prevents parameter value change?
What is early binding and late binding in java?
What do you mean by data type?
Name few java.lang classes introduced with java 8 ?
Are strings immutable in java?
What are the features of junit?
How many bits is a char?