what is the difference between public static void and private static void func_name
What is the difference between public static void and private static void
hi @ayushbhatt2000
The public access modifier
A class may be declared with the modifier public, in which case that class is visible to all classes everywhere.
The private access modifier
A class may be declared with the modifier private, in which case that class cannot be visible to outside.
.