add AB.java with output