What is the diffrence between Abstract Class and an Interface
in OOABAP.
Answers were Sorted based on User's Feedback
Answer / theabapconsultant
the main difference between interface and abstract class is interface wont be having implementations where as the emthods in abstrct can be created with and without implementations.
Is This Answer Correct ? | 7 Yes | 2 No |
Answer / 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 |
The main diff between is : interface is pure abstract class
means.. not even a single method got implemented.where as abstract class may contains implemented methods.
we cant create object for both.
Is This Answer Correct ? | 1 Yes | 0 No |
Flow of SD and MM
Give examples of transparent table?
Events in Interactive Report?
Processing data from data base?
how to debug a popup window?
Why cant we use Normal function module for data transfer?
Is it possible to run host command from SAP environment? How do you run?
What is the difference between collect and sum?
after creating lock object if does n't access record by second user what should we do?
HOW CAN YOU USE A PAGE COUNT IN CALLING A PAGE IN SMARTFORM?
What is foreign key relationship? : abap hr
I have 1 basic list and 9 secondary list in interactive report. If i am in 5th list, how can i come directly to the basic list?