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



Difference between abtsract & final..

Answer / 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

More Core Java Interview Questions

Can we declare a static variable inside a method?

0 Answers  


Which method cannot be overridden in java?

0 Answers  


What is a boolean output?

0 Answers  


give me the answer of this code class A extnds String This code we can write r not in Java? Explain?

4 Answers  


What is the use of math abs in java?

0 Answers  


Explain about Superclass and Subclass?

6 Answers  


What do you mean by constructor?

0 Answers  


Explain the reason behind ending a program with a system.exit(0)?

0 Answers  


What is the use of arraylist in java?

0 Answers  


Name few java.lang classes introduced with java 8 ?

0 Answers  


What is the benefit of inner classes in java?

0 Answers  


Are floats faster than doubles?

0 Answers  


Categories