So this is an example from my professor of how to print prime numbers. Now, I have asked multiple people to explain to me how the public static works and none of them were able to explain to me properly which is wild.
I am asking anyone to tell me this one simple thing without being patronizing: what does int numberOfPrimes do in public static void printPrimeNumber . Please guide me this as much easy as you can I am so desperate and I hate how people just say “look it up" when it is not that easy, it really isn’t and I wish people can understand that. Sorry for ranting, but I am tired of being confused.