Originally posted by Ulf Dittmer:
The degree Celsius character is \U2103 in Unicode, so it can't be represented in 8 bits. That means it will occupy two characters in the file. This is how UTF-8 works, and shouldn't cause a problem.
Originally posted by Sergio Tridente:
It compiles fine under java 1.5.
The only problem would come when trying to create an instance of the inner class: you'll need to explicitly use an instance of the outer class.
The following: MyInner m = new MyInner()
- Will work inside a non static method. It is interpreted as: MyInner m = this.new MyInner()
- Will not work in a static context.