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

Can we define package statement after import statement in java?

1022


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

1049


How do you stop a thread in java?

1049


What does java ide mean?

1120


What are the difference between string, string builder, and string buffer in java?

1118


Can I declare a class as private?

1079


What is the purpose of finalization in java programming?

1025


What is the functionality of the stub?

1018


What is charat java?

948


How many types of methods are there in java?

999


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

1231


What are different exception types exceptions available in java ?

999


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

2704


How static variable work in java?

1112


What is the difference between the boolean & operator and the && operator in java programming?

1026