Explain difference between final, finally and finalize?
Answer Posted / mukund viswanath vyavhare
Final -it is keyword .It is use for
variables and method.
Finally-it is use to define a block
that is always executed in try
catch and finally stetment.
| Is This Answer Correct ? | 11 Yes | 7 No |
Post New Answer View All Answers
Do I need to import java.lang package any time? Why?
What is a wrapper method?
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.
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
Can a source file contain more than one class declaration?
how to write a server program and sending the mails to the server using smtp protocol please help me
What are selection structures?
What is gc()?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
Can we make main() thread as daemon?
what are Hostile Applets?
Which class represents the socket that both the client and server use to communicate with each other?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is anagram word?
Can you add null to a list java?