a)the list of all of the fields and methods of the class
b)the list of all of the public fields and public methods of the class
c)the list of all the private fields and public methods of the class
d)the list of all the private fields and private methods of the class
e)the comments written in the code of the class
The interface of a class refers to?
A.
Reply:A,
you can refer to the site.
http://en.wikipedia.org/wiki/Interface_(...
Reply:B.
Since not all fields and methods are accessible (private and protected are hidden from external access), the interface refers only to publicly accessible fields and methods (read deeper into the wikipedia article - it only refers to properties/methods that objects can use to communicate with other).
Reply:B. Interface is that part of class that is exposed for use to other components outside of the same class.
Reply:b
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment