1

Click here to load reader

Class

Embed Size (px)

DESCRIPTION

Class in ABAP OOPS

Citation preview

Page 1: Class

7/21/2019 Class

http://slidepdf.com/reader/full/class-56da6c4f56a02 1/1

OOPS CONCEPTS

CLASS : Class is a set of objects whcih havehave same structure and behavior

Components of the class can be deinfedin DEFINITION PartComponenets are :Attributes, Methods, EventsConstants, types and implemented interfaces

attributes describes the data that canbe stored in Objects of the class

Visibility :Public attributes -> can be viewed by all usersin all methods.

Protected -> can be viewed only within class and its subclass

Private : Can nly be viewed and changed fromwithin the classNo direct access from outside the class

-> Subclass cannot access private compoof super class

-> External users cannot access private  protected compoenets of a class

-> Deffered definition of a class