// code is right you have added two "{" after 2nd loop so the output is not
// accordding you chenge your code like that
*** Code removed.
See:...
Type: Posts; User: sainisuresh101
// code is right you have added two "{" after 2nd loop so the output is not
// accordding you chenge your code like that
*** Code removed.
See:...
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
output should be in zig zag like
public class Test extends Object
{
public static void main(String s[]) // M GETTING ERROR IN NETBEANS THAT ILLEGAL START UP
{
s=new String[2];
String name=s[0];
String...
you can not assign the array of String to another String because there is no argument in the array