File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes calling main Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "calling main" Watch "calling main" New topic
Author

calling main

Appanid Pathak
Greenhorn

Joined: Jan 18, 2006
Posts: 1
why can we not call a main method using an object as any other static method
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

We can.


What makes you think otherwise?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I think the OP was referring to something like

I'm certain that you can do this. Why do you think that you can't?

Layne


Java API Documentation
The Java Tutorial
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: calling main