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

What is difference between string and stringbuffer?

1117


What are different type of exceptions in java?

984


What is a locale?

1159


Can we override private method in java?

1101


What is the difference between class & object?

1026


How do you include a string in java?

1004


Is treeset sorted in java?

998


How does the java compiler work?

1001


What are the 7 types of characters?

1087


Difference between current previous versions of Java?

1034


Is boolean a wrapper class in java?

1065


Which class is the superclass of all classes?

1117


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

1037


What is classes in java?

950


What is an accessor?

1703