0
What is the difference between using 'class' and 'Public class'?
Will using class ordinarily the same as using Public class in java codes?
2 Answers
0
There are 4 types of java access modifiers:
private
default
protected
public
You can learn all of them here:
https://www.javatpoint.com/access-modifiers