class A def main is private # .error. the "main" method cannot be "private" print 'hello'