it consists of attributes(properties of object) ,events(activity when we trigger
a function),functions(behaviours).
visibilty(where exactly u can access the attributes and functions) of attribute
and function. 1.public(access for all outside class). 2.private.(only with in the class) 3.protected.(access inside the class,sub-class, not in program). types of attribute and function. 1.instance= object of the class 2.static (cannot have multiple value of object) creating object means allocating memory to attributes. t code to create class-se24 enter a class name create usual abap class check final save goto attributes give name of attribute then level visibility assiciate type save activate the class goto se38 write a program step -1 declare the object of class syntax-data:obj_name type_ref_to cla_name step 2 allocate memory to the object syntax-create object object_name. step-3 access the attributes/functions using object. use arrow operator. syntax-obj_name arrow operator attri_name/func_name. ctrl+space-access attributes only public attributes are accessable through the program
protected attributes are in child class not even in program