Search:

Type: Posts; User: helloworld922

Search: Search took 0.20 seconds.

  1. Replies
    6
    Views
    2,078

    Re: creating a package

    In Java you are only allowed to inherit from one class (abstract or not). However, you are allowed to inherit as many interfaces as you please.

    For example:

    Say I have a class called animal. I...
  2. Replies
    6
    Views
    2,078

    Re: creating a package

    An interface is declared with the interface keyword instead of the class keyword. The basically define that for every class/object which implements that interface must have those methods defined....
Results 1 to 2 of 2