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 different methods of passing data?

599


What are internal tables? How do you get the number of lines in an internal table?

632


How can you distinguish between different kinds of parameters?

549


What is the function of the transport system and workbench organizer?

668


Can we access static attribute from instance method

992






What are the different database integrities?

577


What is the master data necessary before you can start posting in MM?

831


If your project is support project ? when is your implementation has completed ?

1530


How can we set the tablespaces and extent sizes ?

567


What is asynchronous and synchronous update?

578


What is is a match code? : abap data dictionary

683


What is the function of the correction system? : abap data dictionary

603


What are the different types of the variable in the sap abap?

585


Where do you code the hide statement?

568


What are the update types possible? : abap data dictionary

556