The value of s is 14-dic-2000.
The value of s is Dec 14, 2000.
An exception is thrown at runtime.
Compilation fails because of an error in line 13.
第1题:
A.df = new DateFormat();
B.df = Date.getFormat();
C.df = date.getFormat();
D.df = DateFormat.getFormat();
E.df = DateFormat.getInstance();
第2题:
A、It's cold today.
B、It's February AD.
C、It's Friday.
D、It's Valentine's Day.
第3题:
what’s your date of birth?
第4题:
16. Date d = new Date(0L); 17. String ds = “December 15, 2004”; 18. // insert code here What updates d‟s value with the date represented by ds?()
第5题:
33. Date d = new Date(0); 34. String ds = “December 15, 2004”; 35. // insert code here 36. try { 37. d = df.parse(ds); 38. } 39. catch(ParseException e) { 40. System.out.println(”Unable to parse “+ ds); 41. } 42. // insert code here too Which will create the appropriate DateFormat object and add a day to the Date object?()
第6题:
Given: 1.d is a valid, non-null Date object 2.df is a valid, non-null DateFormat object set to the current locale What outputs the current locale’s country name and the appropriate version of d’s date?()
第7题:
Given: 12.Date date = new Date(); 13.df.setLocale(Locale.ITALY); 14.String s = df.format(date); The variable df is an object of type DateFormat that has been initialized in line 11. What is the result if this code is run on December 14, 2000?()
第8题:
Locale loc = Locale.getLocale(); System.out.println(loc.getDisplayCountry()+ + df.format(d));
Locale loc = Locale.getDefault(); System.out.println(loc.getDisplayCountry()+ + df.format(d));
Locale loc = Locale.getLocale();System.out.println(loc.getDisplayCountry()+ + df.setDateFormat(d));
Locale loc = Locale.getDefault();System.out.println(loc.getDisplayCountry()+ + df.setDateFormat(d));
第9题:
18. d = df.parse(ds);
18. d = df.getDate(ds);
18. try { 19. d = df.parse(ds); 20. } catch(ParseException e) { };
18. try { 19. d = df.getDate(ds); 20. } catch(ParseException e) { };
第10题:
The value of s is 14-dic-2000.
The value of s is Dec 14, 2000.
An exception is thrown at runtime.
Compilation fails because of an error in line 13.
第11题:
Infocenter
ITSO Redbooks
Facts and Features
System Planning Tool
第12题:
18. d = df.parse(ds);
18. d = df.getDate(ds);
18. try {19. d = df.parse(ds);20. } catch(ParseException e) { };
18. try {19. d = df.getDate(ds);20. } catch(ParseException e) { };
第13题:
Given:12.Datedate=newDate();13.df.setLocale(Locale.ITALY);14.Strings=df.format(date);ThevariabledfisanobjectoftypeDateFormatthathasbeeninitializedinline11.WhatistheresultifthiscodeisrunonDecember14,2000?()
A.Thevalueofsis14-dic-2000.
B.ThevalueofsisDec14,2000.
C.Anexceptionisthrownatruntime.
D.Compilationfailsbecauseofanerrorinline13.
第14题:
Other than academic success, what has been your greatest achievement up to date? What do you see as your personal strength, why?
第15题:
A.var k = new Date( );
B.Date k = new Date( )
C.var k = new date( )
D.以上说法均不对
第16题:
An electrician needs to know what type of receptacle is required. What is the most up-to-date resource to identify the plug type for the feature code ordered?()
第17题:
12. Date date = new Date(); 13. df.setLocale(Locale.ITALY); 14. String s = df.format(date); The variable df is an object of type DateFormat that has been initialized in line 11. What is the result if this code is run on December 14, 2000?()
第18题:
14. DateFormat df; 15. Date date = new Date(); 16. //insert code here 17. String s = df.format( date); Which two,inserted independently at line 16, allow the code to compile?()
第19题:
Given a valid DateFormat object named df,and 16.Date d = new Date(0L); 17.String ds = "December 15, 2004"; 18.//insert code here What updates d’s value with the date represented by ds?()
第20题:
Total float for the activity is 9 days.
The early finish date ofthe activity is the end ofthe day on the 14th.
The late finish date is the 25th.
The activity can be completed in 2 days ifthe resources devoted to it are doubled.
第21题:
df= new DateFormat();
df= Date.getFormatter();
df= date.getFormatter();
df= date.getDateFormatter();
df = DateFormat.getDateInstance();
df= DateFormat.getInstance();
第22题:
The value of s is 14-dic-2004.
The value of s is Dec 14, 2000.
An exception is thrown at runtime.
Compilation fails because of an error in line 13.
第23题:
35. DateFormat df= DateFormat.getDateFormat(); 42. d.setTime( (60 * 60 * 24) +d.getTime());
35. DateFormat df= DateFormat.getDateJnstance(); 42. d.setTime( (1000 * 60 * 60 * 24) + d.getTime());
35. DateFormat df= DateFormat.getDateFormat(); 42. d.setLocalTime( (1000*60*60*24) + d.getLocalTime());
35. DateFormat df= DateFormat.getDateJnstance(); 42. d.setLocalTime( (60 * 60 * 24) + d.getLocalTime());
第24题:
18. d = df.parse(ds);
18. d = df.getDate(ds);
18. try {19. d = df.parse(ds);20. } catch(ParseException e) { };
18. try {19. d = df.getDate(ds);20. } catch(ParseException e) { };