What is an object?

An object is the basic unit of object oriented programing. It can also be said that an object is the basic form of data, as well as a function combined into one unit. It is an instance of a class that has data members and uses various member functions to perform tasks. The objects of a class are declared with the same sort of declaration as variables of basic types.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.