Which of these is true for interfaces in java?

51. Which of these is true for interfaces in java?

  1. The keyword interface is used to create a method
  2. All the methods of an interface are abstract
  3. It does not contain constructors
  4. All of these

Answer: D) All of these

Explanation:

All of the above points are true for interfaces in Java.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.