1 Answer - Sort by: Date | Rating
The question refers to concepts from the Java programming language, created by Sun Microsystems.
In Java, a final class is a class which cannot be sub-classed. An abstract class is a class which is designed to be subclassed. It will contain abstract methods which are given only as method signatures with their implementations left to the derived subclasses.
If a class inherits from an abstract class, it must either implement the abstract methods or declare itself to be abstract too, deferring the implementation to a further sub-class. Since a final class cannot have any sub-class, this is the last opportunity for the abstract methods to receive their implementation - it cannot be deferred any further. Therefore a final class cannot contain any abstract methods.
In Java, a final class is a class which cannot be sub-classed. An abstract class is a class which is designed to be subclassed. It will contain abstract methods which are given only as method signatures with their implementations left to the derived subclasses.
If a class inherits from an abstract class, it must either implement the abstract methods or declare itself to be abstract too, deferring the implementation to a further sub-class. Since a final class cannot have any sub-class, this is the last opportunity for the abstract methods to receive their implementation - it cannot be deferred any further. Therefore a final class cannot contain any abstract methods.
0
0
- What Is Abbrevation Of Mathematics?
- When Will 2110 Jamb Form Be On Sales And Registration Be On Line?
- How Many Seats Does B.b.a Department Have In Evening?
- What Are The 10 Principles That Form The Business Of Financial Management?
- Is Bemuda Triangle Real Or Imaginary?
- How To Write Conceptual Framework In Thesis?
- What Is Literary Appreciation And Study Skills Mean?
- 23+28+37+x+53+168 And 23+28+40+x+50=120 Find The Value Of X-y?
- If I Live In Texas Where Can I Get My Scores For The Ged I Took?
- Where Can I Get My Ged Scores Online If I Live In Texas?
- What Are The Source Of Arts?
- Why The Supply Curve Slope Downward From Right To Left Of The Supply Graph?
- What Is A Role In A Administrative Commercial Business?
- What Are The Three Wants Of The Consumer?
- Who Are Passed The Pnpa Exam Last October 25 2009?
- How Do I Check Oou Post Ume Result Online?
- How To Write Application To The Class Teacher?
- What Are The Differences And Similarities Between A Sole Trader And A Public Limited Comapny?
- When Was The Quadratic Equation Established?
- What Are The Terminology Of Night Auditing?
- Is Correspondence Master Degree Is Equivalent To Post Graduate Degree And Accepted By Indian Govt. Job. Bank Jobs?
- What Are All The Composite Numbers Between 100 And 200?
- How Will International Regional Operates?
- List Of Prime And Composite Numbers Between 100-200?
- What Are All The Prime And Composite Numbers Between 100 And 200?
- Can An Abstract Class Have Any Final Method?
- I Need Help An Abstract And Final Report On Science Fair Project "The Accuracy Of A Calculator"?
- What Do You Mean By Abstract Class?
- What Is Abstract Class?
- Why Do We Make A Class Abstract,what Is The Use Of An Abstract Class?
- What Is The Difference Between Abstract Class And Abstract Method?
- What Is The Difference Between Abstract Class & Interface?
- When Should You Use An Abstract Class And When Should You Use An Interface In Java?
- What Is The Difference Between An Abstract Class And An Ordinary Class?
- Where Is An Abstract Class Without Body Used And What Is Its Purpose?
- Tell Me The Details About Abstract Class And Interface?
- Is It Possible To Have An Abstract Class Inside An Ordinary Class? If So How?
- What Is Difference Between The Abstract Class And Concrete Class?

New Comment - Comments are editable for 5 min.