According to Unity's scripting API, the following are valid options for the Component.GetComponent method:

public Component GetComponent(Type type);
public Component GetComponent(string type);

Which of the following would be a correct implementation of this method?
1) GetComponent(Type type)
2) GetComponent(string type)
3) GetComponent(int type)
4) GetComponent(float type)