05-29-2008 4:20 AM
hi! all,
can anybody define Objects and Method
where & how it is used?
Thanks and Regards
Nagulan
05-29-2008 4:28 AM
objects are instances of classes
methods are like subroutines
check this link
http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
05-29-2008 4:31 AM
Hi,
Objects are runtime instances of the classes.
Methods determine the behaviour of the objects.
Kindly check http://help.sap.com for more information.
Regards,
Hakim
05-29-2008 4:35 AM
hi,
refer to the following link
http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
regards,
Veeresh
05-29-2008 4:36 AM
Hi,
The idea you have in your mind is the class for Maruti-800.Let us call it as class Maruti-800.
Now, you see a real Maruti-800 car in front of you. So, this is the object of class Maruti-800. In other words, the real car is realization/ instantiation of the class Maruti-800.
Method :Block of code, providing some functionality offered by the class. Can be compared to function modules
Narasimha
05-29-2008 4:38 AM
hi there..:::
Objects :In the R/3 product from the German software company, SAP, ABAP Objects is a programming language and part of the ABAP Workbench that allows developers to create and run applications that contain program objects. ABAP Objects includes a virtual machine that will run applications compiled with ABAP Objects language. Like similar object-oriented programming languages, ABAP Objects supports the concepts of class objects, class and subclass inheritance, and polymorphism.
while methods are simply function codes which are written to execute a certain functionality.
do reward if helpful ro get back with further queries.