title: public ClassName functionName(arguments){...}, what is the name for this kind of structure in Java?
body: <p><code>public UserDefinition getTestUser(String userName) {...}</code></p>
  
  <p><code>UserDefinition</code> is a class, <code>getTestUser</code> is a function. What does this really mean?</p>
  
  <p>A function that is named <code>getTestUser</code> is part of the class of <code>UserDefinition</code>?</p>
  
  <p>Or I am wrong with that? What is the term for this kind of way writing a function in java?</p>
  
  <p>Btw above function is a method of another class.</p>