13th Mar 2021, 3:03 PM
Sufia Hashmi
Sufia Hashmi - avatar
14 Respuestas
+ 5
Packages aren't allowed in Java .Just Temove the "package Hashmi" (line 1 and 24) and your program will run smoothly
14th Mar 2021, 2:17 PM
マッドキング♣️✨♣️ [MadKing]
マッドキング♣️✨♣️ [MadKing] - avatar
13th Mar 2021, 3:12 PM
Sufia Hashmi
Sufia Hashmi - avatar
+ 2
Oke...
14th Mar 2021, 2:23 PM
マッドキング♣️✨♣️ [MadKing]
マッドキング♣️✨♣️ [MadKing] - avatar
+ 1
I need the output 1 1 1 1 1 1 1 1 1 1
13th Mar 2021, 3:08 PM
Sufia Hashmi
Sufia Hashmi - avatar
+ 1
for (i=0;i<n;i++) { for (j=0;j<=i;j++) { System.out.print("1 "); } System.out.println(); } It's Me System.out.print() method don't add a new line after printing. (must requires at least one argument..) . but System.out.println(); adds a new line after completes its printing.., it also accept empty arguments ..
13th Mar 2021, 3:12 PM
Jayakrishna 🇮🇳
+ 1
What's the errorJayakrishna🇮🇳
13th Mar 2021, 3:13 PM
Sufia Hashmi
Sufia Hashmi - avatar
+ 1
Class interface enum expected error iam getting
13th Mar 2021, 3:20 PM
Sufia Hashmi
Sufia Hashmi - avatar
+ 1
Ok i comment it..Jayakrishna🇮🇳 thank you
13th Mar 2021, 3:25 PM
Sufia Hashmi
Sufia Hashmi - avatar
0
It's Me Sololearn don't support user defined package creation and importing.. so comment line no:1 and 24. It works then..
13th Mar 2021, 3:18 PM
Jayakrishna 🇮🇳
0
Delete lines number 1 and 24. package hashi; this not supported in Sololearn.
13th Mar 2021, 3:23 PM
Jayakrishna 🇮🇳
0
You're welcome...It's Me
13th Mar 2021, 3:26 PM
Jayakrishna 🇮🇳
0
Great
13th Mar 2021, 7:40 PM
FBI
FBI - avatar
0
Abhyudaya already answered
14th Mar 2021, 2:23 PM
Sufia Hashmi
Sufia Hashmi - avatar
0
Hi
15th Mar 2021, 10:19 AM
Zebaa2 Computer
Zebaa2 Computer - avatar