Search:

Type: Posts; User: helloworld922

Search: Search took 0.14 seconds.

  1. Replies
    9
    Views
    8,318

    Re: Importance of interfaces

    Creating your own interfaces is very useful in designing custom events, and if you have some common property that you want to force certain types of objects to have before they are allowed to be used...
  2. Replies
    9
    Views
    8,318

    Re: Importance of interfaces

    An interesting point about interfaces, their declaration and implementation gets inherited along with the super class.


    public class Cat implements Predator
    {}

    public class Lion extends Cat ...
  3. Replies
    9
    Views
    8,318

    Re: Importance of interfaces

    The specialty about interfaces is that you can have multiple interfaces be implemented by a single class. In standard Java inheritance you are only allowed to inherit from one super class (a fancy...
Results 1 to 3 of 3