How do I display "Σ" using a System.out.println(); statement.开发者_如何学运维..??
P.S.: Using Eclipse IDE
According to http://www.fileformat.info/info/unicode/char/3a3/index.htm, the unicode value for this symbol is U+03A3, so you just have to use the unicade escape sequence :
System.out.println("\u03A3");
The problem, now, is that the console where the String is printed must support unicode and use a font where this symbol is supported, else you'll probably see a '?' character instead of the sigma.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论