x Código Java Unicode Squared
System.out.println("km\u00B2");
Muhammad Tayyab
System.out.println("km\u00B2");