001    /**
002     * A line that inherits from Shape. Part of exercise 7.1
003     * 
004     * @author Kristian Torp, torp (at) cs (dot) aau (dot) dk
005     * @version 1.0
006     */
007    public class Line extends Shape {
008    
009            /**
010             * Prints a message.
011             */
012            public void printString() {
013                    System.out.println("In Line");
014            }
015    }