Which of the following statements about classes is correct? a. When programmers
ID: 3815701 • Letter: W
Question
Which of the following statements about classes is correct?
a. When programmers work with an object of a class, they do not need to know how the object stores its data or how its methods are implemented.
b. When programmers work with an object of a class, they must understand only how the object's methods are implemented.
c. When programmers work with an object of a class, they must understand only how the object stores its data.
d. When programmers work with an object of a class, they must understand how the object stores its data and how its methods are implemented.
Explanation / Answer
Ans) a
Reason:
Programmers need not know about how object stores data and how its methods are implemented.They just need to know the method name and tye purpose of that method .Just we can know this information by looking into the API(Application programming Interface) document..Which was provided by the Developer of the software.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.