Sorry for the basic question I'm asking - I'm a bit unfamiliar with Java!
I'm getting a bit confused concerning the distinction between the main method and the constructor. Is the difference that the constructor is only called when the class is first created, while the main method is called each time the java application is run ...?
Thanks,
Ben
I'm getting a bit confused concerning the distinction between the main method and the constructor. Is the difference that the constructor is only called when the class is first created, while the main method is called each time the java application is run ...?
Thanks,
Ben