Which of the following statements are correct? Select all that apply (S. 470) {4 Richtig}

Which of the following statements are correct? Select all that apply (S. 470) {4 Richtig}
A . You can call private methods within the public methods without reference ^ ‘―’ to the object or class.
B . None of the above
C . Static methods can be defined in both the public and private visibility section of the class.
D . Class methods assigned to the public visibility section can be accessed outside the class using the static component selector and the class name.
E . Only public methods can be addressed outside the class.

Answer: A,C,D,E

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments