Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

wat is final...?
wat is finally...?
wat is finalize....?
difference between " final and finally and finalize "...?

Answer Posted / chaithanya

Final:It is a keyword,constant like c/C++.suppose if we declare a=1,we cannot change that value over the programme.we cannot declare a++.
Finally():It is default block in exception handling.
Finalize():if an object holds non java resources,it must be releases resources before object is destroyed.called garbage collector.it runs periodically.we don't know when gc runs
so the programmer write in manually in finalise method invoked the gc before object is destroyed

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the interpreter in java?

1103


Define nashorn in java8.

1088


what is the significance of listiterator in java?

1118


Where is the find and replace?

1056


Are functions objects in java?

1122


What are different types of multitasking?

1003


How do you start a thread?

1093


Why singleton is not thread safe?

1040


Write a java program to check if a number is prime or not?

1080


What are the differences between include directive and include action?

1276


What is %d in printf?

1091


What is the difference between access specifiers and access modifiers in java? 16

1050


What is instanceof keyword?

1262


Give us the name of the list layoutmanagers in java?

958


Can you explain the cs option of java interpreter?

990