Skip to main content

Posts

Showing posts from August, 2018

What is object-oriented programming (OOP)?

    Object-oriented programming (OOP) is a programming language model where programs are organized around objects rather than action and logic. Modern programming languages including Java , C# and PHP , are object-oriented languages. An "object" in an OOP language refers to a specific type, or "instance," of a class.Each object has a structure similar to other objects in the class, but can be assigned individual characteristics. An object can also call functions, or methods, specific to that object.  For example, the source code of a game may include a class that defines the structure of characters in the game. Individual characters may be defined as objects, which allows them to have different skills and abilities. They may also perform different tasks in the game, which are run using each object's specific methods. Object-oriented programming makes it easier for programmers to structure and organize software programs. Because individual objects can