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

What is meant by final class, methods and variables?

Answer Posted / narasimha

when you declare a class as final, that class cannot be
extended.In java "String" class is final.

when you declare the variable as final then we can
intialize it only once.it is constant.

when declare the method as final we cannot override the
method

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between null and void?

951


Why use string handling in Java?

1016


Explain about features of local inner class?

1116


Can we have this () and super () together?

1027


What is diamond operator in java?

932


Can we have multiple catch block for a try block?

968


please send me hr interview questions in it industry

2108


What is static keyword?

1117


What is mean by encoding?

1057


What is a function easy definition?

992


What is the difference between final, finally and finalize() in java?

1128


What will be the default values of all the elements of an array defined as an instance variable?

1012


What is palindrome in java?

964


Why parameters should be passed by reference?

949


Explain the transient field modifier?

1011