This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes understanding static Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

understanding static

jack worthing
Greenhorn

Joined: Dec 02, 2008
Posts: 18
hi,
can any body please help me on this

if static methods are restricted to call only static methods and data,
how can main() be static and yet call any kind of methods or data.


thanku for your concern.
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3166
    
  10
This is the third time you've posted this question. It wastes peoples time answering a question if it's already been answered elsewhere.


Joanne
Paul Yule
Ranch Hand

Joined: May 12, 2008
Posts: 229
you really should avoid posting the same question more than once. It's poor etiquette.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: understanding static
 
Similar Threads
Static methods
non-static variable cl cannot be referenced from a static context
Static mmbers
Static question again !!
Static mmbers