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
How hashmap increases its size in java?
What do you understand by java virtual machine?
What is r * in math?
Difference between arraylist and hashset in java?
Explain about automatic type conversion in java?
Is 0 an irrational number?
What is qms certification?
What is abstract class constructor called?
What does escaping a character mean?
Does java support multiple inheritances?
What is a singleton class? Give a practical example of its usage.
What is main in java?
What is package private scope in java?
What is the advantage of preparedstatement over statement?
How objects of a class are created if no constructor is defined in the class?