()is a property of object-oriented software by which an abstract operation may be performed in different ways in different classes.A、MethodB、PolymorphismC、InheritanceD、Encapsulation
()is a property of object-oriented software by which an abstract operation may be performed in different ways in different classes.
- A、Method
- B、Polymorphism
- C、Inheritance
- D、Encapsulation
相关考题:
(b) (i) Advise Alasdair of the tax implications and relative financial risks attached to the following propertyinvestments:(1) buy to let residential property;(2) commercial property; and(3) shares in a property investment company/unit trust. (9 marks)
Exhibit:You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit. Which two actions should you perform?()A. Attach the Category attribute class to the controls class definition. Set its value to UserAddress. Mark the class as public.B. Attach the Browsable attribute class to each property in the group. Set its value to True. Mark the property as private.C. Attach the Category attribute class to each property in the group. Set its value to UserAddress. Mark the property as public.D. Attach the Description attribute class to each property in the group. Set each value to a description of the given property.E. Attach the DefaultProperty attribute class to each property in the group. Set each value to a description of the given property.
You are creating a Windows Communication Foundation (WCF) service that accepts messages from clients when they are started. The message is defined as follows:[MessageContract] public class Agent { A. Add a MessageBodyMember attribute to the CodeName property and set the ProtectionLevel to Sign. Add a MessageBodyMember attribute to the SecretHandshake property and set the ProtectionLevel to EncryptAndSign.B. Add a DataProtectionPermission attribute to the each property and set the ProtectData property to true.C. Add an xmlText attribute to the CodeName property and set the DataType property to Signed. Add a PasswordPropertyText attribute to the SecretHandshake property and set its value to true.D. Add an ImmutableObject attribute to the CodeName property and set its value property to true. Add a Browsable attribute to the SecretHandshake property and set its value to false.
InaJSP-centricshoppingcartapplication,youneedtomoveaclient’shomeaddressoftheCustomerobjectintotheshippingaddressoftheOrderobject.TheaddressdataisstoredinavalueobjectclasscalledAddresswithpropertiesfor:streetaddress,city,province,country,andpostalcode.WhichtwoJSPcodesnippetscanbeusedtoaccomplishthisgoal?()A.c:setvar=’order’property=’shipAddress’value=’${client.homeAddress}’/B.c:settarget=’${order}’property=’shipAddress’value=’${client.homeAddress}’/C.jsp:setPropertyname=’${order}’property=’shipAddress’value=’${client.homeAddress}’/D.c:setvar=’order’property=’shipAddress’jsp:getPropertyname=’client’property=’homeAddress’//c:storeE.c:settarget=’${order}’property=’shipAddress’jsp:getPropertyname=’client’property=’homeAddress’//c:set
Until security has been provided the Contractor shall have a maritime lien on ______ for his remuneration.A.the property lostB.the property salvedC.the property involved in the accident which gave rise to the salvage operationsD.any other property in danger which is not and has not been on board the vessel
Which of the following statements concerning intellectual property is wrong?()A、Intellectual property is an intangible creationB、Intellectual property in ludes patents,trademarks,copyrights,etc.C、Intellectual property is a visible creationD、There are some agreement sconcerning intellectual property under the WTO
transition-property属性语法格式正确的是()。A、transition-property:name;B、transition-property:none;C、transition-property:widthheight;D、transition-property:all;
在struts框架中,以下()语句可以输出Userbean(Bean对象名称为user)中name属性的值。A、<bean:writeid=”user”property=”name”>B、<bean:messageid=”user”property=”name”>C、<bean:writename=”user”property=”name”>D、<bean:messagename=”user”property=”name”>
In a JSP-centric shopping cart application, you need to move a client’s home address of the Customerobject into the shipping address of the Order object. The address data is stored in a value object classcalled Address with properties for: street address, city, province, country, and postal code. Which two JSPcode snippets can be used to accomplish this goal?()A、c:set var=’order’ property=’shipAddress’value=’${client.homeAddress}’ /B、c:set target=’${order}’ property=’shipAddress’value=’${client.homeAddress}’ /C、jsp:setProperty name=’${order}’ property=’shipAddress’ value=’${client.homeAddress}’ /D、c:set var=’order’ property=’shipAddress’jsp:getProperty name=’client’ property=’homeAddress’ / /c:storeE、c:set target=’${order}’ property=’shipAddress’jsp:getProperty name=’client’ property=’homeAddress’ / /c:set
You create a data block based on a relational table containing a REF column. You select the REF column for your form module. What is true about the items based on the REF column attributes?()A、The Query Only property is set to Yes. B、The Conceal Data property is set to Yes. C、The Insert Allowed property is set to Yes. D、The Update Allowed property is set to Yes.
You have written a custom menu for a Forms application. You saved the menu module to the file custmenu.mmb. In the Property Palette for the form, you set the Menu Module property to custmenu. When you run the form, the custom menu does not appear. What can you do to fix this problem?()A、Generate the menu module executable. B、Save the menu module as custmenu.mmx. C、In the Property Sheet for the form, set the Starting Menu property to custmenu. D、In the Property Sheet for the form, set the Menu Module property to custmenu.mmb.
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a property named ServiceContext to a control. You need the value of ServiceContext to flow to the child controls exactly like the value of the DataContext property of the FrameworkElement class. What should you do? ()A、Inherit the control class from the DependencyObject class.B、Register a dependency property.In the options settings of the property metadata, specify the Inherits option.C、Declare a new property. In the get and set methods of the new property, create an instance of the TraversalRequest class.D、Declare a new property. In the get method of the new property call VisualTreeHelper.GetParent. In the set method of the new property, call VisualTreeHelper.GetChild.
You have a custom button, with should have a Property "IsActive", one must be able to bind this Property on a class Property.()A、Dependency PropertyB、INotifyPropertyChangedC、net Property
单选题C#中TestClass为一自定义类,其中有以下属性定义 publicvoidProperty{…} 使用以下语句创建了该类的对象,并使变量obj引用该对象: TestClassobj=newTestClass(); 那么,可通过什么方式访问类TestClass的Property属性?()AObj,Property;BMyClass.Property;Cobj::Property;Dobj.Property;
单选题You have written a custom menu for a Forms application. You saved the menu module to the file custmenu.mmb. In the Property Palette for the form, you set the Menu Module property to custmenu. When you run the form, the custom menu does not appear. What can you do to fix this problem?()AGenerate the menu module executable. BSave the menu module as custmenu.mmx. CIn the Property Sheet for the form, set the Starting Menu property to custmenu. DIn the Property Sheet for the form, set the Menu Module property to custmenu.mmb.
单选题How can you change the cursor style in your form? ()AOpen the form module property palette and set the Cursor Style property. BFrom the Tools menu, select Preferences--Runtime Settings. CUse the GET_APPLICATION_PROPERTY and SET_APPLICATION_PROPERTY built-ins. DYou cannot change the cursor style.
单选题You use Reflection to obtain information about a method named MyMethod.You need to ascertain whether MyMethod is accessible to a derived class.What should you do?()ACall the IsAssembly property of the MethodInfo class.BCall the IsVirtual property of the MethodInfo class.CCall the IsStatic property of the MethodInfo class.DCall the IsFamily property of the MethodInfo class.
单选题Which of the following statements concerning intellectual property is wrong?()AIntellectual property is an intangible creationBIntellectual property in ludes patents,trademarks,copyrights,etc.CIntellectual property is a visible creationDThere are some agreement sconcerning intellectual property under the WTO
单选题You established access to menu modules using roles. While testing the application, you need access to all the menus in the SALES form module for all the roles. Which method will override the Menu Module Roles property to allow you to access all the menu items?()ADisable the values for the Menu Module Roles property. BSet the Use Security value in the form module Property Palette to 'True'. CSet the Use Security value in the form module Property Palette to 'False'. DSet the Use Security value in the menu module Property Palette to 'True'. ESet the Use Security value in the menu module Property Palette to 'False'.
单选题You create a data block based on a relational table containing a REF column. You select the REF column for your form module. What is true about the items based on the REF column attributes?()AThe Query Only property is set to Yes. BThe Conceal Data property is set to Yes. CThe Insert Allowed property is set to Yes. DThe Update Allowed property is set to Yes.
多选题In a JSP-centric shopping cart application, you need to move a client’s home address of the Customerobject into the shipping address of the Order object. The address data is stored in a value object classcalled Address with properties for: street address, city, province, country, and postal code. Which two JSPcode snippets can be used to accomplish this goal?()Ac:set var=’order’ property=’shipAddress’value=’${client.homeAddress}’ /Bc:set target=’${order}’ property=’shipAddress’value=’${client.homeAddress}’ /Cjsp:setProperty name=’${order}’ property=’shipAddress’ value=’${client.homeAddress}’ /Dc:set var=’order’ property=’shipAddress’jsp:getProperty name=’client’ property=’homeAddress’ / /c:storeEc:set target=’${order}’ property=’shipAddress’jsp:getProperty name=’client’ property=’homeAddress’ / /c:set
单选题在struts框架中,以下()语句可以输出Userbean(Bean对象名称为user)中name属性的值。A<bean:writeid=”user”property=”name”>B<bean:messageid=”user”property=”name”>C<bean:writename=”user”property=”name”>D<bean:messagename=”user”property=”name”>
单选题You are creating a Windows Communication Foundation (WCF) service that accepts messages from clients when they are started. The message is defined as follows. [MessageContract] public class Agent { public string CodeName { get; set; }public string SecretHandshake { get; set; } } You have the following requirements: "The CodeName property must be sent in clear text. The service must be able to verify that the property value was not changed after being sent by the client. "The SecretHandshake property must not be sent in clear text and must be readable by the service. What should you do?()A Add a MessageBodyMember attribute to the CodeName property and set the ProtectionLevel to Sign. Add a MessageBodyMember attribute to the SecretHandshake property and set the protectionLevel to EncryptAndSign.B Add a DataProtectionPermission attribute to the each property and set the ProtectData property to true.C Add an XmlText attribute to the CodeName property and set the DataType property to Signed. add a PasswordPropertyText attribute to the SecretHandshake property and set its value to true.D Add an ImmutableObject attribute to the CodeName property and set its value property to true. Add a Browsable attribute to the SecretHandshake property and set its value to false.
单选题You are creating a Windows Communication Foundation (WCF) service that accepts messages from clients when they are started. The message is defined as follows:[MessageContract] public class Agent { public string CodeName { get; set; } public string SecretHandshake { get; set; }}You have the following requirements: The CodeName property must be sent in clear text. The service must be able to verify that the property value was not changed after being sent by the client. The SecretHandshake property must not be sent in clear text and must be readable by the service.What should you do?()AAdd a MessageBodyMember attribute to the CodeName property and set the ProtectionLevel to Sign. Add a MessageBodyMember attribute to the SecretHandshake property and set the ProtectionLevel to EncryptAndSign.BAdd a DataProtectionPermission attribute to the each property and set the ProtectData property to true.CAdd an xmlText attribute to the CodeName property and set the DataType property to Signed. Add a PasswordPropertyText attribute to the SecretHandshake property and set its value to true.DAdd an ImmutableObject attribute to the CodeName property and set its value property to true. Add a Browsable attribute to the SecretHandshake property and set its value to false.
单选题You have a custom button, with should have a Property "IsActive", one must be able to bind this Property on a class Property.()ADependency PropertyBINotifyPropertyChangedCnet Property
单选题下列属性中,用于设置和获取通知的内容的是()。A@property(nonatomic)NSInteger applicationIconBadgeNumberB@property(nonatomic,copy)NSDate*fireDateC@property(nonatomic,copy)NSString*soundName;D@property(nonatomic,copy)NSString*alertBody;