JPMorganChase Interview Question

Explain polymorphism. What is an abstract class in Java? Find the longest common prefix among a collection of strings.