Home : Software Terms : Object Definition


An object, in object-oriented programming (OOP), is an abstract data type created by a developer. It can include multiple properties and methods and may even contain other objects. In most programming languages, objects are defined as classes.

Objects provide a structured approach to programming. By defining a dataset as a custom object, a developer can easily create multiple similar objects and modify existing objects within a program. Additionally, objects provide "encapsulation," meaning the data within an object is protected from being modified or destroyed by other functions or methods unless explicitly allowed.

A simple example of an object may be a user account created for a website. The object might defined as class userAccount and contain attributes such as:

  • first name
  • last name
  • email address
  • password
  • age
  • location
  • photo

Instead of recreating these properties each time a new user account is created, a web script can simply instantiate a userAccount object. Data assigned to the object may be stored in a database if the user account is saved.

A more advanced example of an object is a character in a video game. The character might have standard attributes, such as a name, hitpoints, and movement speed. It may also contain other objects, such as weapons, armor, items, etc. In this case, the character is the "parent object" and the objects it contains are "child objects." Both the parent and child objects can have their own properties and methods. For example, the character may have methods such as "move" and "attack." The "attack" command might reference the "weapon" object, which has its own methods, such as "swing" or "thrust."

NOTE: While objects are usually associated with object-oriented programming, in general computer science terminology, an object may refer to a single programming element, such as a variable, constant, function, or method.

Updated: February 28, 2019

Cite this definition:


TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definition of Object. It explains in computing terminology what Object means and is one of many software terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this Object definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!

Subscribe to the TechTerms Newsletter to get featured terms and quizzes right in your inbox. You can choose to receive either a daily or weekly email.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe at any time.
Questions? Please contact us.