//the interface with only one abstract methos is functional interface 
// the below is a functional interface
interface bvrit{
    public String typeofbranches(String branch1,String branch2,String branch3);
}
class Main{
    public static void main(String[] args){
        //lamda expression 
        bvrit b=(branch1,branch2,branch3)->{
            return "The branches available are: "+branch1+branch2+branch3+" etc";
        };
        System.out.println(b.typeofbranches("ECE ","CSE ","Civil"));
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: