package main.commonmethods;

/**
 * Always override toString
 *
 * Weather or not you decide to specify the format, you should clearly document your intentions.
 * If you specify the format, you should do so precisely. For example, toString method to go with the PhoneNumber class.
 * @see PhoneNumber toString
 * If you decide not to specify a format, the docuementation comment should read something like this:
 * @see ToString toString
 *
 * Provide programmatic access to all of the information contained in the value returned by toString.
 *
 * Created by root on 6/21/16.
 */
public class ToString {

    /**
     * Returns a brief description of this potion. The exact details of the representation are unspecified and subject
     * to change, but the following may be regarded as typical:
     *
     * "[Potion #9: type=love, smell=turpentine, look=india ink]"
     * @return string representation
     */
    @Override
    public String toString() {
        // ...
        return super.toString();
    }
}


