@BroCodez

public class Main {
    public static void main(String[] args) {

        // Interface = A blueprint for a class that specifies a set of abstract methods
        //                     that implementing classes MUST define.
        //                     Supports multiple inheritance-like behavior.

        Rabbit rabbit = new Rabbit();
        Hawk hawk = new Hawk();
        Fish fish = new Fish();

        rabbit.flee();
        hawk.hunt();
        fish.flee();
        fish.hunt();

    }
}
public interface Prey {

    void flee();
}
public interface Predator {

    void hunt();
}
public class Rabbit implements Prey{

    @Override
    public void flee(){
        System.out.println("*The rabbit is running away*");
    }
}
public class Hawk implements Predator{

    @Override
    public void hunt(){
        System.out.println("*The hawk is hunting*");
    }
}
public class Fish implements Prey, Predator{

    @Override
    public void flee(){
        System.out.println("*The fish is swimming away*");
    }

    @Override
    public void hunt(){
        System.out.println("*The fish is hunting*");
    }
}

@PlusMinu7

Explained and I understood the assignment within one video watch, thank you, take my like +1

@ENG_TheophilusLangat-w6h

Kudos my Guy πŸ‘πŸ’― 
Learnt sth today πŸ‘Š

@officialdreamplayz

53 videos uploaded today 😱

@Trockyz

1:33 Hawk tuah

@Ctrl-Z-Renders

so many videos, all at the same time!

@muh.hamiddd

This is amazing. Thank you so much

@JavaArise

Welcome back broπŸŽ‰

@hamzahawash3063

My man speed running the whole thing

@officialdreamplayz

i was just writing interfaces code from geeksforgeeks but understand nothing then got this notification :eyes-pink-heart-shape:

@Samtoosoon

Set of abstract methods that implementing class must define

@GorantlaYashwanth

Boss of Bosses

@LOLFUNNYTIKTOKS

Can you make some videos on how to use Insomnia. And videos on NoSQL 😊

@md.o.btuhin6885

I am from Bangladesh, I watch every video of you, I like your videos very much, you make videos very beautifully. Thank you very much

@ANIRUDHGV-l7b

πŸ’₯πŸ”₯πŸ’₯πŸ’₯πŸ”₯πŸ”₯

@ocireocire

Thank you, Bro Code.

@weemanling

So the purpose of this is to ensure that new classes are set up correctly?

@sebastiantercero1605

12 min ago is crazy

@rianrafi2944

Hello bro. Why don't you post on chocobro channel😒