What is Java & quot?

Asked

Viewed 11,590 times

1

I wonder what it means &quot java.

Example: used to form the name of an object:

ClasseObjeto celula+""+col+"_"+lin = new ClasseObjeto();
  • 5

    Ill-formed text.

1 answer

7


You must have taken it off of this link here.

" is the HTML escape sequence representing double quotes (").

That is, this text should be this:

ClasseObjeto celula+""+col+"_"+lin = new ClasseObjeto();

However, because of some problem of the site or the user who posted it there, the quotes were eventually converted to &quot;. Note that in this code, the < was also mocked in that same way and became &lt;.

And by the way, even if you fix this problem, it doesn’t compile and it doesn’t come close to compiling. In Java it is not possible to concatenate variable names to create other variables.

  • Very enlightened. Thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.