SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Declarations → Declaration Statements → Classes and Interfaces → CLASS → CLASS - DEFINITION →Syntax
PUBLIC SECTION.
Effect
You can only use this statement in the declaration part of a class. It defines the public
visibility section
of the class class. All components of the class that are declared after the
statement PUBLIC SECTION are accessible from outside the class, in their subclasses, and in the class itself as long as this permitted by the
package concept. Public methods in particular can be redefined in subclasses.