Which of the following statements apply in this context? In the case - ProProfs Discuss
Topics
Products
Follow Us:

Which of the following statements apply in this context? In the case of classes, we distinguish between two types of components (Attributes and methods): Instance components and static components.



A. Static methods can be called through the class:=>.
B. In a static method, instance attributes can also be used, provided they are declared as READ ONLY.
C. Instance methods can use both static as well as instance components in their implementation part.
D. Static attributes exist only once for each class.
E. Both static as well as instance attributes are declared using the DATA statement.

This question is part of ABAP EXAM CERTIFICATION
Asked by Rr, Last updated: Dec 24, 2019

+ Answer
Request

2 Answers

John Adney

John Adney

Answered Nov 24, 2016

Static attributes exist only once for each class.

I think its True

 

John Smith

John Smith

Answered Nov 24, 2016

In a static method, instance attributes can also be used, provided they are declared as READ ONLY.
2. Instance methods can use both static as well as instance components in their implementation part.
3. Both static as well as instance attributes are declared using the DATA statement.
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.