Object In Java?

Object means which exists physically in the real world.for example Laptop, Television, fan etc. In Real World, every Object contains two characteristics, These are state and behaviors.

For Example, Let's take one person Object person has states like name, age, gender and behaviors like sleep, eat, talk.
In Java also Objects are same like real-world entities.Java Objects contains state and behavior. State means data(values) can be stored in fields or variables. behavior means logics we can define in methods.
How To create Object in Java?
using new operator we can create Objects in Java.
 Syntax: 
<class_name> referencevariable = new <class_name>();
The new Operator instantiates a class by allocating memory for a newly created Object and returning a reference to that memory.
An object is an instance of the class.
 Ex:
       Person p = new Person();
above we have created Object of Person class with the reference variable of "p".
Example

public class Person {
 String name;// variables
 int age;// variables
 String gender;// variables

 public void sleep() {
  System.out.println("i can sleep");
 }

 public void talk() {
  System.out.println("i can talk");
 }

 public static void main(Strin[] args) {
  Person p = new Person();
 }

}