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 |
What is the abstract class?
What is the definition of tree ?
What does java edition mean?
When throws keyword is used?
What is the difference between Grid and Gridbaglayout?
Is class forname reflection?
What is covariant return type?
What is += mean in java?
How does Vector implement synchronization?
If try block is successfully executed, Then Is Finally block executed?
Does sprintf allocate memory?
Is main is a keyword?