Add the Unicode character for the Greek letter pi to the String public class MainClass { public static void main(String[] argv) { float pi = 3.14159f; String tmp = "Pi = " + pi + " or " + '\u03c0'; System.out.println(tmp); } }
Pi = 3.14159 or ?