// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
package annotation;

public class Test {
    public static void main(String[] args) {
        System.out.println("Start");
        try {
            System.out.println("2+3=" + IntMath.add(2, 3));
            System.out.println("2.0*3.0=" + DoubleMath.multiply(2.0, 3.0));
            System.out.println("10/0=" + IntMath.divide(10, 0));
        } catch (Exception ex) {
            System.out.println("Exception: " + ex.getMessage());
        }
        System.out.println("End");
    }
}
