0

default access specifier

static void sayHello() { System.out.println("Hello World!"); } in the above there is no access specifier mentioned. when running Java take it as public or something else

10th Jul 2017, 12:45 PM
Shaistha Shabnam
1 ответ
+ 1
default similar to public
10th Jul 2017, 1:04 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar