Question: what is the difference between public static and private static in java?
Answer: public static - can be accessed from within the class as well as outside the class. private static - can be access from within the class only.