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
For declarations of classes are avaible only two keywords:
You can use private and protected only if you declare an member inside of a class. Example:
public class Student{
protected Note note;
}