Wheb a ball is projected veritially upward with speed ` u`, the maximum height attained, ` h_(max) =u^(2)//2g`, which is independent of mass of ball. Thus both the balls ( of different masses) will attain same height when projected vertically upward wigh the same velocity.