0
Is java categories by public or private
3 ответов
0
hi,
u r asking about access specifier right, if it so we have 4 access specifier
private
protected
public and default
0
it is not like in c, that you have a private and a public block, but you can write private, public, or protected in front of variables and methods, like
public int x = 5;
or
private void someFunc (){}
- 1
well, public is the default access specifier