fork download
  1. class Main {
  2. public static void main (String[] args) {
  3. String a = "a";
  4. String b = null;
  5. System.out.println((b == null ? "" : b) + a);
  6. }
  7. }
  8.  
  9. //https://pt.stackoverflow.com/q/137873/101
Success #stdin #stdout 0.09s 35968KB
stdin
Standard input is empty
stdout
a