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...

Explain final, finalize() and finally?

Answer Posted / guest

we can declare final for class ,method,varible.
final varibles are unchangeble.
final classes are not subclassed.
final methods are not overriden.
finilize()
to clean up memory resourses for object using finilize().
finally block is executed if exception thrown or not.

Is This Answer Correct ?    100 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why heap memory is called heap?

1042


What is an abstract class and what is it’s purpose?

957


Does java allow overriding static methods ?

1112


What is Java Package and which package is imported by default?

1090


Why local variables are stored in stack?

973


What is the arraylist in java?

1048


What is remote method invocation (rmi)?

1060


Why java is object oriented?

1019


Can we have two methods in a class with the same name?

1049


What is array sorting in java?

1055


what is heap memory?

1095


Why are functions called methods in java?

1000


What are actual parameters?

1030


What are assembly attributes?

1002


Explain the available thread states in a high-level?

959