Write a class IN BLUEJ to overload a function num_calc() as follows:
i) void num_calc(int num, char ch) with one integer argument and one character argument, computes the square of integer argument if choice ch is ‘s’ otherwise finds its cube.
ii) void num_calc(int a, int b, char ch) with two integer arguments and one character argument. It computes the product of integer arguments if ch is ‘p’ else adds the integers.
iii) void num_calc(String s1, String s2) with two string arguments, which prints whether the strings are equal or not.
Write a main method to call the above methods and pass the values.