|
Which of the following statements
are true?
Select all that apply. A. Static attributes can be declared
only in the private visibility section of the class.
Which is the correct answer? --- Answers / Explanation Static attributes can be defined in the private and public visibility sections of the class. Static attributes are defined with the CLASS-DATA statement in the definition part of the class. Static attributes exist once per class and are the same for all of the runtime instances of the class. If you change the static attribute of the class, this change will apply for all of the instances of the class. Static attributes can be changed by an instance of the class. All of the objects of the class can access the static attribute of the class. Correct answers: B, C
|
|
See Also
Get help for your ABAP problems
ABAP Books
More ABAP Tips
SAP Basis, ABAP Programming and Other IMG Stuff All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|