This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes static method  query? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "static method  query?" Watch "static method  query?" New topic
Author

static method query?

kiran kumar
Greenhorn

Joined: May 24, 2008
Posts: 18
class A{
static void methodA(){
System.out.println("in methodA");
}
public static void main(String ar[]){
A a1=new A();
a1.methodA(); //when we have to use this one
A.methodA(); //when we have to use this one

}


Thanks & Regards,<br />Bhuvan Samrat.
Rodrigo Lopes
Ranch Hand

Joined: Feb 29, 2008
Posts: 119
Read this
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: static method query?
 
Similar Threads
how to understand static method
setRollbackOnly() related question
Certification Study Guide by Simon Roberts Philip Heller Micheal Ernst
the" fina"l and "static'
Read file from directory, update contents of the each file