Passage One
The exact year of Christ's birth is not recorded, but the calendar began on the supposed date divides time into B.C. (before Christ) and A.D. (in the year of our Lord). Nor was the exact day of his birth known. For the first 300 years his birthday was celebrated on different days. It was not until the year 354 that December25thwas chosen.
Christmas music is loved by all who hear and sing it every year. Carols, bells, and merry music have been a part of Christmas for centuries. Every Christmas Eve the bells ring to call people to church services. The most famous sleigh bells in the world belong to Santa Claus.
Christmas is a family festival. In the United States, no distance seems too great if it enables one to join the family circle for the holiday. All schools close for two weeks, parents welcome home their children and grandchildren and often open their doors to friends and strangers.
31. The calendar began ______.
A. in the exact year of Christ' birth
B. on the exact date which divides time into B. C. and A. D.
C. on December 25th
D. on the chosen date
第1题:
在下面附属类方法中的下划线处应填入的正确参数是( )。 public void writeData(________) throws IOException{ GregorianCalendar calendar=new GregorianCalendar(); calendar.setTime(hireDay); out.println(name+"|"+salary+"|" +calendar.get(Calendar.YEAR)+"|" +(calendar.get(Calendar.MONTH)+1)+"|" +calendar.get(Calendar.DAY_OF_MONTH)); }
A.Employee[]e
B.employee.dat
C.PrintWriter out
D.BufferedWriter
第2题:
已知学生记录描述如下,设变量s中的“生日”应是“1984年11月11日”,下列对生日的正确赋值方式是()。 struct student{ int no; char name[20]; char set; struct{ int year; int month; int day; } birth; }; struct student s;
A.year=1984;month=11;day=11;
B.birth.year=1984; birth.month=11; birth.day=11
C.s.year=1984;s.month=11;s.day=11
D.s.birth.year=1984;s.birth.month=11; s.birth.day=11;
第3题:
下面哪个方法可以获得Calendar实例()
A.new Calendar()
B.Calendar.getInstance()
C.get(Calendar.YEAR))
D.get(Calendar.MONTH))
第4题:
在下面附属类方法中的下划线处应填入的正确参数是public void writeData( )throws IOException{ GregorianCalendar calendar=new GregorianCalendar(); calendar,setTime(hireDay); out.println(name+"|" +salary+"|" +calendar.get(Calendar.YEAR)+"|" +(calendar.get(Calendar.MONTH)+1)+"|" +calendar.get(Calendar.DAY_OF_MONTH)):}
A.Employee[]e
B.employee.dat
C.PrintWriter out
D.BufferedWriter
第5题:
08110062:已知职工记录描述为: struct workers{ int no; char name[20]; char sex; struct{ int day; int month; int year; }birth; }; struct workers w; 设变量w中的“生日”应是“1993年10月25日”,下列对“生日”的正确赋值方式是()。
A.day=25;month=10;year=1993;
B.w.day=25;w.month=10;w.year=1993;
C.w.birth.day=25;w.birth.month=10;w.birth.year=1993;
D.birth.day=25;birth.month=10;birth.year=1993;
第6题:
Calendar类中,表示当前日期是星期几的类常量是()。
A.Calendar.DAY_OF_WEEK
B.Calendar.DAY_OF_WEEK_IN_MONTH
C.Calendar.DAY_OF_MONTH
D.Calendar.DAY_OF_YEAR