J.P. Morgan Interview Question

Why Object and Class is used in Java Agile Methodology How many times you run your regression suite?