anusha maddineni answered question 1/19/2011 What Is The Difference Between .net And Java? Why do we use interface in java? In c++ we have the advantage of implementing multiple inheritance where as in java we can't implement multiple inheritance directly for that purpose we are using interface.