Overview of abstract and final class
Page 1 of 1
Overview of abstract and final class
In class definition we have some more variation. The two variations are abstract and final, if
we add ABSTRACT and FINAL to the METHODS and CLASS statements then it allows us u
to define abstract and final methods or classes.
Lets discuss what are all these , if we declare a class as abstract then that class is not
implementable as well as it cannot be instantiated, but the what is the use of such class ??
Well this type of class are used in the concept of inheritance, the abstract class is only
implementable in its sub class.
Lets come to final, what is final?? These is also used with inheritance if we want to prevent a
class from being inherited then we do it by adding the word final to class definition final
class cannot be inherited and its methods cannot be redefined in the subclass.
Uma_ABAP- Posts : 56
Join date : 2012-03-31
Similar topics
» Concept of super and final in ABAP Objects
» What is Valuation Class?
» What is the significance of Delivery Class ?
» Introduction to class in ABAP Objects
» What is a Data Class and Size Category?
» What is Valuation Class?
» What is the significance of Delivery Class ?
» Introduction to class in ABAP Objects
» What is a Data Class and Size Category?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Mon Aug 20, 2012 4:37 pm by Admin
» Difference between Type and Like
Thu Jun 07, 2012 2:40 pm by Admin
» How to handle table control fields in Module Pool program?
Wed May 09, 2012 2:41 am by govind
» Three tables inner join in SAP
Thu May 03, 2012 4:47 pm by Uma_ABAP
» Creating table type in ABAP
Sat Apr 28, 2012 9:03 pm by Uma_ABAP
» Creating user defined types and structures in ABAP
Sat Apr 28, 2012 8:55 pm by Uma_ABAP
» Creating Dynamic Internal Table and Dynamic Field catalog in SAP-ABAP
Fri Apr 27, 2012 11:00 am by Admin
» Copy Custom PF-Status from Standard program to Custom Program in ALV
Thu Apr 26, 2012 9:52 pm by Uma_ABAP
» Calculate/find number of working days between two dates in SAP
Tue Apr 24, 2012 2:06 pm by Uma_ABAP