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

Difference between abtsract & final

Answer Posted / naveen

abstract and final are java modifiers. abstract is applied
to only class and methods.If class is abstract we cannot
instantiated of the class.If method is abstract it cannot
have body.abstract class contains concreate methods and
abstract methods.

final is a java modifier . It can be applied to class ,
variables, methods.If class is final we cannot inherited the
class. If variable is final we cannot change the value of
the variable. If method is final we cannot override that method.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why put method is idempotent?

916


what is deadlock? : Java thread

1009


Does treeset use compareto?

978


What’s the difference between callable and runnable?

1101


Is java call by reference?

973


What are the topics in advance java?

970


Which is bigger float or double java?

978


What does method mean?

1066


Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

1134


What is the difference between a break statement and a continue statement?

1038


What is the significance of java packages?

1106


What is the static variable?

1122


What is static import in java?

986


What is the difference between a loader and a compiler?

1036


Can constructor be inherited?

1036