Should A Main() Method Be Compulsorily Declared In All Java Classes

Should A Main() Method Be Compulsorily Declared In All Java Classes


  • 29 Dec, 2011

    No not required. main() method should be defined only if the source class is a java application.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.