You cannot remove the main method. This is the entry point to your program. How will you start it without a main method?
There are 3 solutions:
Declare list to be static. Most n00bs just make...
Type: Posts; User: Junky
You cannot remove the main method. This is the entry point to your program. How will you start it without a main method?
There are 3 solutions:
Declare list to be static. Most n00bs just make...
You need to understand the difference between static and non static. Basically static means methods and variables belong to the class and not an instance of the class. This means that if you have a...
Cheers!
Read the error message.
Java is case sensitive.