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 |
How do I get 64 bit java?
What is the point of java?
What is private public protected in java?
Difference between notify() method and notifyall() method in java?
What is the purpose of a statement block?
What are 3 data types?
What are loops in java?
How do you convert boolean to boolean?
What is meant by anonymous class?
What are the different types of java?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
What is the difference between a choice and a list?