有关Calendar类说法正确的是()。A.Calendar类是一个抽象类B.Calendar类提供了日历功能C.GregorianCalendar类是Calendar的父类D.可以使用Calendar类的static方法初始化一个日历对象E.Calendar类在java.text包中

有关Calendar类说法正确的是()。

A.Calendar类是一个抽象类

B.Calendar类提供了日历功能

C.GregorianCalendar类是Calendar的父类

D.可以使用Calendar类的static方法初始化一个日历对象

E.Calendar类在java.text包中


参考答案和解析
通过该类的getInstance方法得到系统当前日期。;通过该类对象调用getTime()方法得到java.util.Date类的对象,表示系统当前时间。;通过该类对象调用set、get方法设置或获取某时间域(年、月、日、时、分、秒等)的数值。

相关考题:

A calendar that identifies when a project may be performed on an activity is called a:A.Project calendar.B.Resource calendar.C.Milestone point.D.Key point.E.Work unit.

● A calendar that identifies when a project may be performed on an activity is called a:A Project calendar.B Resource calendar.C Milestone point.D Key point.E Work unit.

在下面附属类方法中的下划线处应填入的正确参数是 public void writeData(______)throws IOException{ GregorianCalendar calendar=new GregorianCalendar(); calendar.setTime(hireDay); out.println(name+"|"+salary+"|" +calendar.get(Calendar.YEAR)+"|" +(calendar.get(Calendar.MQNTH)+1)+"|" +calendar.get(Calendar.DAY_OF_MONTH)); }A.Employee[]eB.employee.datC.PrintWriter outD.BufferedWriter

You are hosting a Windows Communication Foundation (WCF) service under Microsoft Interent Information Services (IIS) 7.0.You have set up a web site in IIS Manager. The physical path is c:\wwwroot\Calendar.There is a Calendar.svc file in the c:\wwwroot\Calendar folder. It contains the following directive:% @ServiceHost Language=C Debug=true Service=Calendar.Calendar CodeBehind=CalendarSvc.cs %The CalendarSvc.cs file contains the source for the Calendar class in the Calendar namespace.You compile this code into the Calendar.dll file. You need to deploy your service to the web site. What should you do?()A. Copy the Calendar.dll file to the c:\wwwroot\Calendar\code folderB. Copy the Calendar.dll file to the c:\wwwroot\Calendar\bin folderC. Copy the Calendar.svc.cs file to the c:\wwwroot\Calendar\bin folderD. Copy the Calendar.svc.cs file to the c:\wwwroot\Calendar\code folder

Which organizations can post to the same set of books?() A.those organizations that share the same functional currency, calendar and accounting flexfield structureB.those organizations that share the same currency but do not share the same calendar and accounting flexfield structureC.those organizations that share the same accounting flexfield structure but do not share the same calendar and functional currencyD.those organizations that share the same calendar but do not share the same functional currency and accounting flexfield structure

在下面附属类方法中的下划线处应填入的正确参数是( )。 public void writeData( ______ ) throws IOException{ GregorianCalendar calendar=new GregorianCalendar(); calendar.setTime(hireDay); out.println(name+"|"+salary+"|" +calendar.get(Calendar.YEAR)+"I" +(calendar.get(Calendar.MONTH)+1)+"|" +calendar.get(Calendar.DAY_OF_MONTH)); }A.Employee[]eB.employee.datC.PrintWriter outD.BufferedWriter

3在下面附属类方法中的下划线处应填入的正确参数是( )。 public void writeData(______)throws IOException { GregorianCalendar calendar=new GregorianCalendar(); calendar.setTime(hireDay); out.println(name+"T" +salary+"|" +calendar.get(Calendar.YEAR)+"|" +(calendar.get(Calendar.MONTH)+1)+ "|" +calandar.get(Calendar.DAY_OF_MONTH)); }A.Employee[] eB.employee.datC.PrintWriter outD.BufferedWriter

下列关于Date类的描述中,错误的是?() A、Date类获取的时间是以1970秒开始计时的B、在JDK1.1之后,Date类逐渐被Calendar类取代C、Date类中大部分构造方法都被声明为已过时D、Date类中大部分方法依然推荐使用

Calendar.MONTH用于表示月份,如果现在是4月份,得到的Calendar.MONTH字段的值应该是?() A、4B、3C、5D、以上都不对

下面有关类的继承的说法正确的是()A、派生类的成员应该与基类的成员一致,不能为派生类增加新成员B、在派生类中可通过隐藏继承成员,来删除基类的成员C、在描述类的继承关系时,父类与子类是基类与派生类的另一种说法D、所有的类成员都可以被继承

下列有关资产类账户和费用类账户的说法正确的是()。A、资产类账户增加记贷方,减少记借方B、负债类账户增加记贷方,减少记借方C、收入类账户增加记贷方,减少记借方D、费用类账户增加记贷方,减少记借方

Your portable computer has a built-in secondary display on the lid.  You need to display your e-mail messages, calendar, and contacts on the secondary display.  What should you do? ()A、Configure the e-mail, calendar, and contacts gadgets to be displayed on Microsoft Windows Sidebar.B、Configure the e-mail, calendar, and contacts gadgets to be displayed on Microsoft Windows Sideshow.C、Configure desktop shortcuts to Microsoft Windows Mail, Microsoft Windows Calendar, and Microsoft Windows Contacts.D、Configure Quick Launch shortcuts to Microsoft Windows Mail, Microsoft Windows Calendar, and Microsoft Windows Contacts.

有关类的说法正确的是()。A、类是java中的一种重要的复合数据类型B、类封装了一类对象的状态和方法C、类由成员变量和方法组成D、以上都不对

Date、Calendar以及DateFormat类都位于java.util包中

下面有关类和对象的说法中,不正确的是()A、 类是系统提供的一种数据类型B、 对象是类的实例C、 类和对象的关系是抽象和具体的关系D、 任何一个对象只能属于一个具体的类

有关类的说法,正确的是()。A、类具有封装性,所以类的数据是不能被访问的B、类具有封装性,但可以通过类的公共接口访问类中的数据C、声明一个类时,必须使用public修饰符D、每个类中必须有main方法,否则程序无法运行

What is the name of the User Interface (UI) widget that is just a standard edit box that is linked to a calendar with the pop-up property set?()A、Date-Time PickerB、Calendar PickerC、Date PickerD、Date Selector

油品变类下列说法正确的是().A、先变类再调整损溢B、先调整损溢再变类C、直接调整变类D、以上说法均不正确

以下有关五级分的说法错误的是()A、改变贷款用途的贷款分类最高为关注类B、重组贷款可分至损失类C、不逾期不欠息贷款应分类为正常类D、以上说法都正确

有关环氧树脂,说法正确的是()A、含有大量的双键B、使用引发剂固化C、使用胺类固化剂固化D、属于热塑性塑料

判断题Date、Calendar以及DateFormat类都位于java.util包中A对B错

单选题Which organizations can post to the same set of books?()Athose organizations that share the same functional currency, calendar and accounting flexfield structureBthose organizations that share the same currency but do not share the same calendar and accounting flexfield structureCthose organizations that share the same accounting flexfield structure but do not share the same calendar and functional currencyDthose organizations that share the same calendar but do not share the same functional currency and accounting flexfield structure

单选题You manage a department that uses Microsoft Windows Calendar to assign tasks. Another member of the department owns the calendar.  The calendar is published to a shared network location. Users report that they do not see the most recent updates to the assigned tasks.  You need to ensure that the shared calendar displays the latest updates.  What should you do? ()ASelect the published calendar in Windows Calendar, and then click the Sync All option. BPublish your local calendar in Windows Calendar and then click the Automatically publish changes option.CSchedule a task to publish the Calendar.ics file to the shared network location. Configure the task to run on an hourly schedule.DInstruct the calendar owner to click the Local calendar option in Windows Calendar, and then click the Automatically publish changes option for tasks.

单选题You are hosting a Windows Communication Foundation (WCF) service under Microsoft Interent Information Services (IIS) 7.0. You have set up a web site in IIS Manager. The physical path is c:/wwwroot/Calendar. There is a Calendar.svc file in the c:/wwwroot/Calendar folder. It contains the following directive: The CalendarSvc.cs file contains the source for the Calendar class in the Calendar namespace. You compile this code into the Calendar.dll file. You need to deploy your service to the web site. What should you do?()ACopy the Calendar.dll file to the c:/wwwroot/Calendar/code folderBCopy the Calendar.dll file to the c:/wwwroot/Calendar/bin folderCCopy the Calendar.svc.cs file to the c:/wwwroot/Calendar/bin folderDCopy the Calendar.svc.cs file to the c:/wwwroot/Calendar/code folder

单选题You have an Exchange Server 2010 organization.A user reports that some meetings are missing from her calendar.You need to recover the missing calendar items.The solution must ensure that the missing calendar items are recovered automatically. What should you do?()ACreate and then configure a sharing policy.BSet the schedule for the Managed Folder Assistant.CRun the Set-MailboxCalendarConfiguration cmdlet.DSet the schedule for the Calendar Repair Assistant (CRA).

单选题You manage 40 computers that run Microsoft Windows Vista.  You use Microsoft Windows Calendar to publish a calendar to a shared network location. You need to allow users to automatically view the most recent calendar updates.  What should you do? ()AInstruct all users to configure a calendar subscription that has an update interval of 15 minutes.BInstruct all users to perform calendar synchronization for all shared calendar subscriptions. CInstruct all users to map a network drive to the folder that holds the shared calendar. Import the .ics file for the shared calendar.DUse e-mail messages to deploy the .ics file for the shared calendar to each user. Instruct each user to import the .ics file that is attached to the e-mail message.

单选题以下有关五级分的说法错误的是()A改变贷款用途的贷款分类最高为关注类B重组贷款可分至损失类C不逾期不欠息贷款应分类为正常类D以上说法都正确

多选题有关类的说法正确的是()。A类是java中的一种重要的复合数据类型B类封装了一类对象的状态和方法C类由成员变量和方法组成D以上都不对