
What is the exact use of interface in real time scenario? some people says that interface provides multiple inheritance. Is it true? In such a case how can we say that java doesn't supports multiple inheritance

Through interface, we can achieve the multiple inheritance.
Java does not support multiple inheritance directly. Actually, when we extends more than one class, JVM get some abigious problem and will get confused as which method it will take.It creates complexity.Therefore java does not support it directly.