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
What is operator overloading. Is it is supported in java?
What is a literal coding?
What is the difference between equals() and == in java?
How do I get the | symbol on my keyboard?
Which collection does not allow duplicates in java?
Which package is imported by default?
How can you read content from file in java?
What is java reflection api?
What is a package in java? List down various advantages of packages.
What do you mean by a JVM?
Why inputstreamreader is used in java?
What is linkedlist in java?
What is floating data type?
What are the topics in advance java?
Which is faster string or stringbuilder?