> How do you display a number as it is in a higher degree in java? Let's say I want to write cm(squared).?

How do you display a number as it is in a higher degree in java? Let's say I want to write cm(squared).?

Posted at: 2014-12-18 
There's a character map in Accessories in Windows Start menu.

Console output supports standard unicode characters, like 2 and 3: http://ideone.com/LY4cH3

You can't use custom layout though, console output is just plain text. If you need arbitrary formatting and layout, you need to create a graphical application.