An object is an instance of a class. To understand what is meant by an instance here is a small example. if we have a class Person as class Person{ public String name; public int age; public float salary; public Person(String name, int age, float salary){ this.name=name; this.age=age; this.salary= salary; } public static void main(String args[]){ Person personObject = new Person("Abhay",45,50000); } } In the main function we have created an object of type Person. we can now use this object to manipulate the contents of the object such as the name,age and salary of the person. Other methods of the class have not been included.
An object, traditionally defined, is either a direct object or an indirect object.
An object, in some usages, is any grammatical relation other than subject.