title: Java method with method with colon in parameter
body: <p>I have been given a UML diagram for an abstract class Location. The class has one variable String name. It has the method addEmployee(employee : Employee): boolean.</p>
  
  <p>The Employee class is associated to the Location class. Employee class has to variables String name and String address and methods getName():String and getAddress(): String</p>
  
  <p>I am unsure about how to make the addEmployee method and I do not understand its parameter employee : Employee, what does the colon mean?</p>
  
  <p>Thanks</p>