+ 3
Whats wrong
package stone; import java.io; public class emma { public static void main(String[] args) { int a[] = new int[10]; for(int i, i<a, i++) { system.out.println('a'): } } }
7 odpowiedzi
+ 7
Stone Solution : 🙆♂️🤗 💗
https://code.sololearn.com/cZOOmD9QU37t/?ref=app
+ 2
oops i<a is not valid a is array nd object bt i is primitive data type..
better to use this
for(int a:r){
System.out.println(r)
}
+ 1
Too many mistakes...
public class emma
{
public static void main(String[] args)
{
int a[] = new int[10];
for(int i=0; i<a.length; i++) {
System.out.println('a');
}
}
}
0
thanks but when is scanner class and bufferedreader class used?
- 2
I'm attending first so I didn't no