What is the diffrence between Abstract Class and an Interface
in OOABAP.

Answer Posted / theabapconsultant

interfaces are independant structures used to extend scope of a class and it shud be defined in only public section. interfaces can have attributes and methods without implementation. a class which includes this interfaces with methods should have implementation to all interface methods in that class.
abstract is a concept in which we design the basic template with set of components that are available in the sub class.in the abstraact class we have methods with and without implementations.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two levels in defining a match code? : abap data dictionary

842


What are the differences between sap memory and abap memory?

767


Can a constructor be redefined?

1123


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

1961


There is a delivery that is being created through the ABAP code and in the middle it says delivery created but someone is modifying , how would you rectify this issue

8043


Which objects are independent transport objects?

1027


Kindly help me to Know the process of mapping in EDI from R/3 to a convertor(third party which translates IDoc flatfile to EDIFACT /XML / FTP /HTTP ) ?

1770


List the various components of the enterprise structure in systems, applications, and products (sap) in human capital management (him)? : sap abap hr

691


Can we set page headers to details lists?

776


Explain buffering concept usage?

785


What is the significance of the screen number ‘0’?

778


Double click function on the lists, identifying the line selected by the user on the list?

829


Abstract class and interface, multiple inheritance, live example

1088


Can we make use of flow logic control key words in abap/4 and vice-versa?

793


Filter badi and multiple used badi? Will the sequence matter of the badi implementation in case of multiple used badi?

1493