Get all rounders from Indian cricket team - Java Quiz Question



Write a program to get the all rounders in indian cricket team.

Input (Batsman, Bowlers) Indian Cricket Team
{Sachin Tendulkar, Dhoni, Sehwag, Yuvraj Singh, Virat Kohli, Gautam Gambhir, Suresh Raina, Rohit Sharma, Irfan Pathan, Ashwin, Chawla, Agarkar}
{Zaheer Khan, Irfan Pathan, Harbhajan Singh, Ashwin, Chawla, Nehra, Agarkar, Munaf Patel, Balaji, Sreesanth, RP Singh, Yuvraj Singh, Virat Kohli, Suresh Raina, Rohit Sharma}
{Yuvraj Singh, Virat Kohli, Suresh Raina, Rohit Sharma, Irfan Pathan, Ashwin, Chawla, Agarkar}
{}
{} EMPTY ARRAYS
{}
null
null - NULL ARRAYS
null

class GetAllRounders

{    public static void main(String s[])
    {
        String[] batsman = {"Sachin Tendulkar", "Dhoni", "Sehwag", "Yuvraj Singh", "Virat Kohli", "Gautam Gambhir", "Suresh Raina", "Rohit Sharma", "Irfan Pathan", "Ashwin", "Chawla", "Agarkar"};
        String[] bowlers = {"Zaheer Khan", "Irfan Pathan", "Harbhajan Singh", "Ashwin", "Chawla", "Nehra", "Agarkar", "Munaf Patel", "Balaji", "Sreesanth", "RP Singh", "Yuvraj Singh", "Virat Kohli", "Suresh Raina", "Rohit Sharma"};
        String[] allRounders = getAllRoundersInIndianTeam(batsman, bowlers);
        System.out.println("All rounders in indian cricket team  : ");
        for(String cricketPlayer : allRounders){
            System.out.println(cricketPlayer);
        }

    }


public static String[] getAllRoundersInIndianTeam(String[] batsman, String[] bowlers)
{
String[] result = null;
//Write a code get common players in batsman and bowlers arrays and assign output to result.
return result;
}


public static int getCommonPlayersCountTwoDifferentArrays(String[] batsman, String[] bowlers)
{
int result=0;
//Write a code to get common players count in two different arrays and assign to it result.
return result;
}
}