default access specifier | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
+ 1
default similar to public
10th Jul 2017, 1:04 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar