Multiple choice What is the use of interface in java? It provides data encapsulation. It resolves the multiple inheritance problem in java. It provides the behaviour of the application. All of the above Only (1) and (2) Reveal answer Fill a bubble to check yourself D Correct answer Explanation Yes, all of the above statements are true.