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: 10062
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.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 124 guests