Another point to be noted is that this example is a standalone program that we chose to use as our first illustration because applets seem to be too ornery when it comes to working without fuss. Make a directory called yyy in the root directory and be in it. An object that looks like String is passed along with it. Now the word static . It could very well have been free, because that is what static means.
Lets get it cleared.
Ordinarily, whenever we have to use a function of a class, we have to first initialize an object that looks like that class and then refer the function through the object. So the string start will be printed on the screen. Then we initialize a to bbb and print Before xx . But it is not so. One thing that ought to be crystal clear in our minds is that Java does not have prototypes .