Yes, We cannot instantiate interface directly
Indirectly we can create an object of the interface.
e.g.
public interface inf {
public String get();
}
public class c implements inf{
public String get(){
return "worldofharry";
}
}
Now to create the object of interface by
inf inter = (inf)new c();