What is & quot in Java?

1

I would like to know what & quot means in java.

Example: used to form the name of an object:

ClasseObjeto celula+""+col+"_"+lin = new ClasseObjeto();
    
asked by anonymous 23.10.2017 / 22:34

1 answer

5

You should have taken this from this link here >.

" is the HTML escape sequence that represents the double quotation mark ( " ).

That is, this text should be this:

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

However, because of some problem with the site or the user who posted it there, the quotation marks ended up being converted to &quot; . Note that in this code, < was also hoaxed in this way and became &lt; .

And by the way, even fixing this problem, this does not compile or even close to compile. In Java it is not possible to concatenate variable names to create other variables.

    
23.10.2017 / 22:40