An object is an instance of a class. This instance can be created in another class using the new keyword . The new keyword is a very powerful keyword in Java which allows for instantiation of another class. This is how you create an object of a class in another class without using inheritance.