What is difference between abstract class & final class
Answer Posted / amit singh
1)abstrat class is just a incomplete class mean to say you
only declare a method when some class extends this abstart
class then it adds some facility in this class when you
define the method body those inherited from the abstract
class.
2)but the fianl class you cn't able to add the new
functionality to this class because extnd the class its not
just mean to make child clss but to means to facilitate
this class with some aditive coding .so means to say that
its complete class you don't able to add new functionality
in this class and you never extends this class .
thanks amit singh
amitsing2008@gmail.com
| Is This Answer Correct ? | 29 Yes | 3 No |
Post New Answer View All Answers
Can memory leak in java?
What is the final variable?
How to display arraylist values in java?
What is main method?
Explain the difference between throw and throws in java?
How does thread synchronization occurs inside a monitor?
What is the different types of functions?
How do you remove an element from an arraylist in java?
Can an interface have a constructor?
What is boolean strategy?
What is a ternary operator in java?
How to perform quicksort in java?
What is mean by encoding?
Is minecraft 1.15 out?
What are the differences between include directive and include action?