About Making Library There is a tutorial in the Arduino website on how to create a library. The tutorial gives the following codes for the header:

class Morse
{
  public:
    Morse(int pin);
    void dot();
    void dash();
  private:
    int _pin;
};


My questions are:


What is the purpose of this line: Morse(int pin);
If any, what is the name of this line?
What is the purpose of this line: Morse(int pin);
  


It is the method that is called when you create an object of class Morse when only passing a single int:

Morse somemorse(1);



  
  If any, what is the name of this line?
  


It has multiple names, depending on what aspect you care about:


It is a constructor for the class Morse.
It is a forward declaration for the method Morse::Morse(int).