About Question com.enthuware.ets.scjp.v6.2.122 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
fuss

About Question com.enthuware.ets.scjp.v6.2.122 :

Post by fuss »

Code: Select all

Date d = Calendar.getInstance().getTime();
		DateFormat mydf = DateFormat.getDateInstance(DateFormat.LONG,
			Locale.FRANCE);
		System.out.println(mydf.format(d));
works as well as

Code: Select all

Date d = Calendar.getInstance(Locale.FRANCE).getTime();
		DateFormat mydf = DateFormat.getDateInstance(DateFormat.LONG,
			Locale.FRANCE);
		System.out.println(mydf.format(d));
There is nothing mentioned about the requirement of filling all the yellow fields.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.122 :

Post by admin »

Unless explicitly mentioned, you should fill all the targets.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 21 guests