Results 1 to 2 of 2
  1. #1
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    450
    Rep Power
    6

    Default what is the need of interface?

    As class is doing the same thing of interface,why we need interface?
    Mak
    (Living @ Virtual World)

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    to provide a common "interface". (I.E. so that one class can utilise specific parts of many other classes without knowing more of that class than it absolutely must. I.E. no more than is defined in the interface that they all implement).

Similar Threads

  1. Interface?
    By MarkWilson in forum New To Java
    Replies: 4
    Last Post: 07-11-2008, 09:10 PM
  2. Problem With RSA Interface
    By Floetic in forum AWT / Swing
    Replies: 2
    Last Post: 03-25-2008, 10:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •