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


Please Help Members By Posting Answers For Below Questions

What is operator overloading. Is it is supported in java?

515


What is a literal coding?

508


What is the difference between equals() and == in java?

521


How do I get the | symbol on my keyboard?

592


Which collection does not allow duplicates in java?

463






Which package is imported by default?

628


How can you read content from file in java?

595


What is java reflection api?

552


What is a package in java? List down various advantages of packages.

747


What do you mean by a JVM?

557


Why inputstreamreader is used in java?

541


What is linkedlist in java?

500


What is floating data type?

535


What are the topics in advance java?

507


Which is faster string or stringbuilder?

515