What is behavior of the object in X++ Programming Language?

X++ Programming Language >   OOP Concepts >   Class Introduction  

Long Question

334


Answer:

A class is a software construct that expresses the data and methods of the objects, which are later constructed from that class. These objects are also referred to as instances. Data in a class defines the state of an object, and the methods in a class define the behavior of that object. Methods are a sequence of statements that operate on the data in a class.

Usually, methods are declared to operate on the instance variables of a class. These methods are referred to as instance or object methods. An instance variable is a variable that is bound within the instance or within an instantiated object, as opposed to a static or class variable that is bound to a class.


This Particular section is dedicated to Question & Answer only. If you want learn more about X++ Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.