Multiple choice softskills creativity

output?? import java.util.; import java.text.; public class NowString { public static void main(String[] args) { Date now = new Date(); DateFormat df =DateFormat.getDateInstance(); String s = df.format(now); System.out.print("Today is " + s); Integer id=new Integer(12); System.out.print(id); } }

  1. Today is Aug 2, 201012

  2. Today is Aug 2, 2010

  3. Today is 12

  4. None

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The code formats the current date and appends the integer 12. If the date was Aug 2, 2010, the output 'Today is Aug 2, 201012' is produced because System.out.print does not add spaces or newlines between the date string and the integer.