This content has been marked as final. Show 1 reply
The first, and most important thing I would like to know is, what is static'static' means that the item concerned is associated with the class itself rather than an instance: so, it is accessible to all instances.
Could you please provide an example?
is an example, but you knew that. I don't really understand the question.
public static void main(String args)
Also, why is String args necessary within the parameters of the main method?'args' receives the arguments you type on the command line after the class name or jar name, depending on how you invoke the application.
This is all covered in the documentation, which you should read before asking further questions.
Last thing is: objects. Where can I learn about them?If you don't know about objects you're not going to learn about them by asking questions on a forum. It's far too large a topic. Get yourself a book.