Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Define

Former Member
0 Kudos

hi! all,

can anybody define Objects and Method

where & how it is used?

Thanks and Regards

Nagulan

5 REPLIES 5

Former Member
0 Kudos

objects are instances of classes

methods are like subroutines

check this link

http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm

abdul_hakim
Active Contributor
0 Kudos

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

former_member673464
Active Contributor
0 Kudos

Former Member
0 Kudos

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

Former Member
0 Kudos

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.