What is Interface?

Answer Posted / akshay odhekar

Interface contains only declarations of methods and final
variables.Which is exposed to external world that which
methods they have to implement.External world means any
other industry/business who is going to write software for
application.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is multiple inheritance not supported in java?

550


Can main() method in java can return any data?

632


What is the purpose of the strictfp keyword?

600


Is double bigger than float?

531


Explain the use of javap tool.

623






How to change the priority of thread or how to set priority of thread?

554


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

591


What are the basic control structures?

492


Can you create an object of an abstract class?

541


How is it possible for two string objects with identical values not to be equal under the == operator?

519


Can singleton class be inherited in java?

509


What is variable and its types?

535


Why string is not thread safe?

526


What does it mean to flush a file?

560


What is charat java?

535