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 synchronization and why is it important? : Java thread
How does linkedhashmap work in java?
What is entry set in java?
Explain differences between collection api and stream api?
Explain garbage collection in java?
What are methods of a class?
What is string [] args?
Can we convert list to set in java?
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
What is difference between java and java ee?
What an i/o filter?
Why lambda expression is used in java?
What does the three dot emoji mean?
Is sizeof a preprocessor?
What is length in java?