
What is thee use of interface in java? where in java we can only use interface neither abstact class nor class is useful there?

Interface supports multiple inheritance, so it is used in Java.
For more information, learn Interface Vs Abstract Class tutorial
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.