default access modifiers

Solutions on MaxInterview for default access modifiers by the best coders in the world

showing results for - "default access modifiers"
Alois
05 Feb 2018
1package p1;
2 
3//Class Course is having Default access modifier
4 
5class Course{
6 
7void display()
8 
9{
10System.out.println("Hello World!");
11 
12}
13 
14}
15