Java Unicode Confusion

前端 未结 5 1034
无人及你
无人及你 2020-12-18 05:03

HEy all, I have only just started attempting to learn Java and have run into something that is really confusing!

I was typing out an example from the book I am using

5条回答
  •  有刺的猬
    2020-12-18 05:57

    Well, when I use that code I get the << as I should and 1/2 for \u00BD as it should be.

    http://www.unicode.org/charts/

提交回复
热议问题