Hi all.
Here is a very dull and useless example
My question is this - is the keyword "static", defining that "main" is not an instantiated or called from an instantiated class, and therefore it is always static, and therefore always accessible and at a fixed point in memory?.
Thanks.
Here is a very dull and useless example
Code:
public class myClass{
public [B][COLOR="Red"]static[/COLOR][/B] void main(String args[]){
System.out.println("hello world is dull");
}
}
My question is this - is the keyword "static", defining that "main" is not an instantiated or called from an instantiated class, and therefore it is always static, and therefore always accessible and at a fixed point in memory?.
Thanks.