J
J
jstudent2012-10-04 18:42:29
Java
jstudent, 2012-10-04 18:42:29

Does it work?

import static java.lang.System;
public class _{
    static public void main (String... __A_V_){
        String $ = "";
        for (int x = 0; ++x<__A_V_.length;){
            $ += __A_V_[x];
        }
       out.println($);
    }
}


Don't check until you answer!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita Permin, 2012-10-04
@NekitoSP

given that __A_V_.length is a method, I can say with confidence that the code will not even compile =)

K
Konstantin, 2012-10-04
@Norraxx

Without delving into the algorithm, does it work: where does out come from?

B
barker, 2012-10-04
@barker

In any case, at least import static java.lang.System.*; This is to compile. Well, ++x will also start with argument 1 (the second one).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question