title: Is there a programming language whose declarations are similar to those used in UML?
body: <p>Like:</p>
  
  <pre><code>  Employee: Person
  
         name: String
         id:   int
  
  
        + employeeCount(): int {
          ---------------
           return employeecount
        }
        + name():String {
             return name;
        }
        - secret():void {
             ///private method
        }
  </code></pre>