return "Goodbye world";
String d = demo(); // assigns "Goodbye cruel world" to d // int e = demo(); // EXPECT COMPILE ERROR int e = idemo(); // Get it right System.out.println("d="+d); System.out.println("e="+e);
return 4;
new ReturnType().doTheWork();