0

Java first section help please

for this question _____Apples { public static void publics static void ____(String[ ]args) { System.out.println("Hello, World!"); } I thought my answers where 'class' to the first blank and 'method' to the second fill in. However, there isn't enough spacing and SoloLearn says I am wrong. Can someone assist me please.

7th Oct 2018, 8:44 PM
Lisa Lenhart
Lisa Lenhart - avatar
1 Antwort
0
You are right the first is the class but the second is a main method so the answer is 'main'
7th Oct 2018, 8:57 PM
JavaBobbo
JavaBobbo - avatar