मराठी

The interface in Java is a mechanism to achieve ______. - Computer Science (Theory)

Advertisements
Advertisements

प्रश्न

The interface in Java is a mechanism to achieve ______.

पर्याय

  • encapsulation

  • overriding

  • polymorphism

  • abstraction

MCQ
रिकाम्या जागा भरा
Advertisements

उत्तर

The interface in Java is a mechanism to achieve abstraction.

Explanation:

In the Java programming language, an interface is defined as. An abstract type defines the behavior of a class. In Java, it is used for abstraction and multiple inheritance. In Java, interfaces serve as a tool for abstraction.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2021-2022 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×