class A def main is shared # .error. too many "main" methods pass class B def main is shared # .warning. located pass