object in programming code example

Example 1: What is an object

The Object is the real-time entity having some state and behavior. 
In Java, Object is an instance of the class having the instance variables 
as the state of the object and the methods as the behavior of the object. 
The object of a class can be created by using thenewkeyword

Example 2: object meaning in programming

"""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"""