| 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: 118
|
|
|
Read this
|
 |
 |
|
|
subject: static method query?
|
|
|