0

Necessity of pakage in java .

Is refering package is necessary in a java program , so why don't we see any package in challenge or competetive programming ?

29th Jun 2021, 4:23 AM
Md. Shahriar Kamal Nafiz
Md. Shahriar Kamal Nafiz - avatar
4 Respostas
29th Jun 2021, 5:38 AM
Ipang
+ 1
Sololearn does not support package creation, it causes error in SoloLearn, but it is legal in Java, some others online Java IDEs consider it necessary to use a package. Java is not required it.
29th Jun 2021, 9:08 AM
zemiak
+ 1
Thank you so much
29th Jun 2021, 9:24 AM
Md. Shahriar Kamal Nafiz
Md. Shahriar Kamal Nafiz - avatar