This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
Have you checked out Aspose?
 
subject: calling main
 
It's not a secret anymore!