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

How do you identify if jvm is 32-bit or 64-bit from java program?

969


What is scanner in java?

955


What is regex java?

1112


Can we declare the static variables and methods in an abstract class?

990


Why do we need variables?

990


How to restrict a member of a class from inheriting by its sub classes?

1354


Differentiate between vector and array list.

1071


What is the difference between notify and notifyall method?

1223


What is a stack class in java ?

1109


When do we use synchronized methods in java?

1050


What is passing value java?

1064


What package is math in java?

1005


What is static and final keyword in java?

1025


Explain the difference between intermediate and terminal operations in java8?

1116


What is consumer interface?

1003