/** * This student is a class representing the lessons learned * in the 5th course, prepareing the 6th. * * @author mario */ class Human { String name; /** * This is the constructor of the class, creating the * object and filling all the member variables with * values. * * @param name the name of the student * @param age the age of the student */ Human(String name) { // set the members this.name = name; } /** * This is a method of the object. * * As a possible behavior of the object, it will print the * name of the student and the message to the console. * * @param message the message the student should say */ void say(String message) { // print the message to the console by using System.out.println(this.name+": \""+message+"\""); } }