You should let us know what all the error messages are, or else we're just guessing - my guess is that since the method is as you wrote is private, it is probably in a separate class and thus the...
Type: Posts; User: copeg
You should let us know what all the error messages are, or else we're just guessing - my guess is that since the method is as you wrote is private, it is probably in a separate class and thus the...
Then you can define it as static, or create an instance of the Class that contains the method and call the method on that object.
For future reference, please wrap your code in the tags. Are you just asking how to run that method from the main method? The main method is static, thus if one tries to directly call a method that...