I have noticed that if don't write public
before a class its works same as like a public class
. I can't understand why so? It should show a error when I don't declare a class as public
, private
or protected
. But it works fine. What is the reason?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…