‎2008 Jun 03 1:49 PM
Hi ,
Can anybody give the difference between class and interface.
Regards
sai
‎2008 Jun 03 1:51 PM
Class
Class pools serve as containers for exactly one global class. Besides the global class, they can contain global types and local classes/interfaces to be used in the global class. A class pool is loaded into memory by using one of its components. For example, a public method can be called from any ABAP program or via a transaction code connected to the method. You maintain class pools in the class builder.
Interface
Interface pools serve as containers for exactly one global interfaceu2014nothing more and nothing less. You use an interface pool by implementing its interface in classes and by creating reference variables with the type of its interface. You maintain interface pools in the class builder.
thanks
reward if useful
Richa
‎2008 Jun 03 1:53 PM