R4R
Right Place For Right Person TM

What is the use of an interface ?

previous previous previous
Question:
What is the use of an interface ?

Question:What is the use of an interface ?


Answer
An interface tells that what a class can do. It is a good object oriented design to use interfaces in your program. When a class implements the interface, it is actually contracting to implement all the functionality of the interface. Interfaces also support multiple inheritance.

By:Jalees
Date:

What is the use of an interface ?

Post Your Answers


User Name:
Answers:

Related Links

  1. What is a serializable interface ?
  2. How to prevent field from serialization ?
  3. What is the difference between throw and throws ?
  4. Can multiple catch statements be used in exceptions ?
  5. Is it possible to write a try within a try statement ?
  6. What is mean by a Thread ?
  7. What is mean by multi-threading ?
  8. What is the 2 way of creating a thread ? Which is the best way and why?
  9. What is the method to find if a thread is active or not ?
  10. What is the difference between sleep and suspend ?
  11. Can thread become a member of another thread ?
  12. What are the three types of priority ?
  13. Garbage collector thread belongs to which priority ?
  14. What is the use of �this� ?
  15. How can you find the length and capacity of a string buffer ?
  16. How to compare two strings ?
  17. What is the purpose of run-time class and system class?
  18. What is the method used to clear the buffer ?
  19. What is mean by Stream Tokenizer ?
  20. What is serialization and de-serialisation ?
  21. What is mean by Applet ?
  22. How to find the host from which the Applet has originated ?
  23. What is the life cycle of an Applet ?
  24. How do you load an HTML page from an Applet ?
  25. What is mean by getCodeBase and getDocumentBase method ?
  26. What is the use of parameter tag ?
  27. What is the difference between getAppletInfo and getParameterInfo ?
  28. How to communicate between applet and an applet ?
  29. What is mean by event handling ?
  30. What are all the listeners in java and explain ?
  31. What is mean by an adapter class ?
  32. What are the types of mouse event listeners ?
  33. What are the types of methods in mouse listeners ?
  34. What is the difference between panel and frame ?
  35. What is the default layout of the panel and frame ?
  36. What is the difference between list and choice ?
  37. What are the different types of Layouts ?
  38. What is mean by CardLayout ?
  39. What is the difference between GridLayout and GridBagLayout?
  40. Which class has no duplicate elements ?
  41. What is mean by Swing ?
  42. What is the difference between an applet and a Japplet?
  43. What are all the components used in Swing ?
  44. What is mean by tab pans ?
  45. What is the use of JTree ?
  46. What is the use of JTable ?
  47. What is mean by JFC ?
  48. What is JAR file ?
  49. What is mean by manifest files ?
  50. What is two properties in Beans ?

Question:What is the use of an interface ?

Back Home Next

New Updates

Topics

Topics

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R