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
List types of storage classes in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is private static in java?
Explain about the security aspect of java?
How do you decide when to use arraylist and linkedlist?
Define jre i.e. Java runtime environment?
what is mena by object block any what is the use of that
Explain jvm, jre, and jdk?
Why heap memory is called heap?
What is the difference between declaration and definition in java?
Is zero a positive integer?
What are implicit objects in java?
What is nested top-level class?
Does chrome use java?
Is static a keyword in java?