What is an Object? - ISC Java Expert

Breaking

BANNER 728X90

Saturday, August 18, 2018

What is an Object?



Definition: An object is an identifiable entity with some characteristics and behavior.
An object can also be called as an item, person, place or an activity.

Object has three characteristics:

  1. State: This refers that an object can be in many states.
  2. Behavior: This refers that what an object is capable of doing. The object Fan has the behavior of blowing air. Similarly every object has its own behavior.
  3. Identity: This refers to the name of object. Example Table, Fan, Car etc.

Syntax:

Example:

Discussion:


No comments:

Post a Comment