‎2008 Nov 29 4:08 PM
Hi,
In JAVA or Other OOP languages the class definition & implementation are doing within the same task i.e with in the class only they are defining & implementing.But when it comes to ABAP the definition part & implementation part of a class are divided into 2 tasks. Why they are designed like that?
‎2008 Dec 01 1:38 AM
hi,
i do not know whether you know the language of c++ or not, in c++ , we can define and implement the
class separately or implement the class within the definition of the class, but in java we do not do like this. and in abap , we must do it separately. i think the design is not that important, and the key point to us is what we must follow the principle of the oops.
that is my understanding about this issue.
‎2008 Dec 02 4:08 PM
Hi Suresh Reddy,
The main intention behind this design is
" to differentiate the class definition and implementation clearly ."
Even if you have a chance to including both class definition and implementation in same structure, it is difficult to differentiate these things in lengthy implementation classes.
Thank you,
Prasad GVK.