What is a class member? What is an object?
Answer :The entities like events, properties, fields and functions encapsulated within a class are called class members. A constructor of a class that resides within it is also a form of a class member.
When we instantiate a class in order to use its encapsulated class members, this instantiated class entity is called the object.
No comments:
Post a Comment