Solution to
Try It Yourself: overloading

  1. The first and the third have the same signature:
    public void test(int a, String s)
    public int  test(int a, String s)
    
  2. The second and the third have the same signature:
    public  void mystery(int a, double b, float c)
    private void mystery(int q, double r, float s)
    
  3. The output is:
    !!! 0three !!!
    *** 2 ***
    +++ 4.0 +++
    !!! 0three !!!
    *** 5 ***
    +++ 10.0 +++
    !!! 0three !!!