Q-What is Visibility in OO ABAP?
A-
VISIBLITY SECTIONS:
1. PUBLIC SECTION:
The Components declared in Public are accessed within the class,Child class and also outside of class .
2. PROTECTED CLASS:
The Components declared in Public are accessed within the class,Child class and but not outside of class .
3. PRIVATE SECTION:
The Components declared in Public are accessed within the class only,not on Child class and not to outside of class .
No comments:
Post a Comment