File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Oct 31, 2006
Dec 07, 2006 01:32:00
it is an one of the FAQ
is not having main method so static method can call by object of class,directly, or classname
but to call this also i thing we need mainmethod so reply please
Joined: Nov 29, 2005
Dec 07, 2006 02:02:00
Could you please explain in detail.
Joined: Dec 11, 2004
Dec 07, 2006 06:28:00
The main method in a
class is not for other Java components.
It's for calling a Java program from the command line.
are not called from the command line. they are invoked by the container in response to an HTTP request.
How to ask a question...
Simple Servlet Examples
Don't get me started about those stupid
Shadowing static methods
Static Imports doubt!
Why redefined method is called here?
Another Static Question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015