网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
An object is()
- A、what classes are instantiated from.
- B、an instance of a class.
- C、a blueprint for creating concrete realization of abstractions.
- D、a reference to an attribute.
- E、a variable.
参考答案
更多 “An object is()A、what classes are instantiated from.B、an instance of a class.C、a blueprint for creating concrete realization of abstractions.D、a reference to an attribute.E、a variable.” 相关考题
考题
●Traditional structured analysis techniques focus upon the flow of(71)within a system Object-oriented analysis emphasizes the building of real-world models It examines requirements from the perspective of the classes and objects found in the vocabulary of the(72)domainTraditional system design method emphasizes the proper and effective structure of a complex systemObject-oriented design method encompasses the process of object-oriented decomposition and a(73)for depicting both logical and physical as well as static and dynamic models of the system under designObject-oriented programming is a method of implementation in which programs are organized as cooperative collections of objects, each of which represents an(74)of some class, and whose classes are all members of a hierarchy of classes united via(75)relationships(71)A.control B.program C.data D.reference(72)A.problem B.solution C.data D.program(73)A.mark B.picture C.symbol D.notation(74)A.instance B.example C.existence D.implementation(75)A.control B.inheritance C.inference D.connection
考题
Traditional structured analysis techniques focus upon the flow of(1)within a system. Object-oriented analysis emphasizes the building of real-world models, It examines requirements from the perspective of the classes and objects found in the vocabulary of the(2)domain.Traditional system design method emphasizes the proper and effective structure of a complex system. Object-oriented design method encompasses the process of object- oriented decomposition and a(3)for depicting both logical and physical as well as static and dynamic models of the system under design.Object-oriented programming is a method of implementation in which programs are organized as cooperative collections of objects, each of which represents an(4)of some class, and whose classes are all members of a hierarchy of classes united via(5)relationships.A.controlB.programC.dataD.reference
考题
In looking at the class structure of an entire system, we may find that its inheritance (1) is either wide and shallow, narrow and deep, or balanced. Class structures that are wide and shallow usually represent forests of (2) classes that can be mixed and matched. Class structures that are narrow and deep represent trees of classes that are related by a common ancestor. There are advantages and disadvantages to each approach. Forests of classes are more loosely (3) , but they may not exploit all the commonality that exists. Trees of classes exploit this commonality, so that individual classes are smaller than in forests. However, to understand a particular class, it is usually necessary to understand the meaning of all the classes it inherits from or uses. The proper shape of a class structure is highly problem-dependent. We must make similar trade-offs among inheritance, aggregation, and using relation- ships. For example, should the class Car inherit, contain, or use the classes named Engine and Wheel? In this case, we suggest that an (4) relationship is more appropriate than inheritance relationship. Meyer states that between the class A and B," (5) is appropriate if every instance of B may also be viewed as an instance of A. The client relationship is appropriate when every instance of B simply possesses one or more attributes of A". From another perspective, if the behavior. of an object is more than the sum of its individual parts, then creating an aggregation relationship rather than an inheritance relationship between the appropriate classes is probably superior.A.distinctionB.levelC.gradeD.hierarchy
考题
Which statements concerning the correlation between the inner and outer instances of non-static inner classes are true?() A、Member variables of the outer instance are always accessible to inner instances, regardless of their accessibility modifiers.B、Member variables of the outer instance can never be referred to using only the variable name within the inner instance.C、More than one inner instance can be associated with the same outer instance.D、All variables from the outer instance that should be accessible in the inner instance must be declared final.E、A class that is declared final cannot have any inner classes.
考题
After creating a WebSphere Commerce instance, an administrator attempts to log on to the WebSphere Commerce Administration Console. The browser reports a "500 Internal Server Error". What could cause this to occur?()A、The web server was not startedB、The Payments Engine was not startedC、The WebSphere Commerce Payments instance was not startedD、The WebSphere Commerce application server was not startedE、The Configuration Manager service was not started
考题
What allows the programmer to destroy an object x?() A、 x.delete()B、 x.finalize()C、 Runtime.getRuntime().gc()D、 Explicitly setting the object’s reference to null.E、 Ensuring there are no references to the object.F、 Only the garbage collection system can destroy an object.
考题
Which thefollowingstatements about static inner classes is true?()A、 An anonymous class can be declared as static.B、 A static inner class cannot be a static member of the outer class.C、 A static inner class does not require an instance of the enclosing class.D、 Instance member of a static inner class can be referenced using the class name of the staticinner class.
考题
Given that Thing is a class, how many objects and reference variables are created by the following code?() Thing item, stuff; item = new Thing(); Thing entity = new Thing();A、One object is createdB、Two objects are createdC、Three objects are createdD、One reference variable is createdE、Two reference variables are createdF、Three reference variables are created.
考题
Which statement about static inner classes is true? () A、 An anonymous class can be declared as static.B、 A static inner class cannot be a static member of the outer class.C、 A static inner class does not require an instance of the enclosing class.D、 Instance members of a static inner class can be referenced using the class name of the static inner class.
考题
Which methods from the String and StringBuffer classes modify the object on which they are called?() A、The charAt() method of the String class.B、The toUpperCase() method of the String class.C、The replace() method of the String class.D、The reverse() method of the StringBuffer class.E、The length() method of the StringBuffer class.
考题
Which statements about static inner classes are true?()A、 A static inner class requires a static initializer.B、 A static inner class requires an instance of the enclosing class.C、 A static inner class has no reference to an instance of the enclosing class.D、 A static inner class has access to the non-static members of the outer class.E、 Static members of a static inner class can be referenced using the class name of the static inner class.
考题
Which built-in would you reference in your trigger code to remove a report from the Reports Server queue dynamically?()A、FIND_REPORT_OBJECT B、CANCEL_REPORT_OBJECT C、REPORT_OBJECT_STATUS D、SET_PROPERTY OBJECT_PROPERTY
考题
You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas.You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents. What should you do?()A、Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.B、Create an instance of the XmlReader class with an instance of the XmlTextReader class.C、Create an instance of the XmlDocument class and specify a location for the application schema.D、Create an instance of the XmlReader class with an instance of the XmlNodeReader class.
考题
You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data. (3)It uses user-customizable actions when the control is first painted on the form. What should you do?()A、Create a new custom class for the control that is derived from the Control class.B、Create a new custom class for the control that is derived from the UserControl class.C、Create a new custom class for the control that is derived from the ContentControl class.D、Create a new custom class for the control that is derived from the ContentPresenter class.
考题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. The number of items of the data-bound collection is fixed. However, users can modify the properties of each of the Product objects in the collection. You need to ensure that changes made on the Product objects are automatically reflected in the ListBox control. What should you do?()A、Implement the INotifyPropertyChanged interface in the Product class.B、Implement the INotifyCollectionChanged interface in the ProductList class.C、Set the Mode property of the Binding object of the ListBox control to TwoWay.D、 Set the UpdateSourceTrigger property of the Binding object of the ListBox control to PropertyChanged.
考题
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. A third-party assembly contains custom server controls. This assembly does not contain a strongname and it’s not part of the application’s Microsoft Visual Studio 2008 solution. You have to makesure that the other users are able to use the custom controls. You decide to configure theapplications project. What should you do?()A、You should add a project reference to the project.B、You should add a Web reference to the project.C、You should add a service reference to the project.D、You should add an assembly reference to the project.
考题
You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object ismore than 100 KB in size when serialized.You need to minimize the amount of data is sent to the user. What should you do?()A、Pass the object data in a hidden field.B、Store the object instance in a session variable.C、Use a cookie that contains the object data.D、Encode the object data and pass it in a query string parameter.
考题
Your network contains a server named Server1 that runs Windows Server 2008 R2. On Server1, you create an Active Directory Lightweight Directory Services (AD LDS) instance named Instance1. You connect to Instance1 by using ADSI Edit. You run the Create Object wizard and you discover that there is no User object class. You need to ensure that you can create user objects in Instance1. What should you do()A、Run the AD LDS Setup Wizard.B、Modify the schema of Instance1.C、Modify the properties of the Instance1 service.D、Install the Remote Server Administration Tools (RSAT).
考题
You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to design a composite control for the application.You need to derive the control from a base class that supports templates.What should you do?()A、Derive from the Control class.B、Derive from the UserControl class.C、Derive from the ScrollableControl class.D、Derive from the ContainerControl class.
考题
You are creating an application that provides information about the local computer.The application contains a form that lists each logical drive along with the drive properties,such as type,volume label,and capacity.You need to write a procedure that retrieves properties of each logical drive on the local computer. What should you do?()A、Retrieve an instance of the FileSystemInfo class.B、Retrieve an instance of the DriveInfo class.C、Retrieve the drive capacity by using the DriveInfo.TotalSize property.D、Determine if the drive is available by using the FileSystemInfo.Attributes property.E、Retrieve the drive names of all logical drives on a computer by using the DriveInfo.GetDrives method.F、Retrieve the drive capacity by using the FileSystemInfo.Attributes property.
考题
单选题What allows the programmer to destroy an object x?()A
x.delete()B
x.finalize()C
Runtime.getRuntime().gc()D
Explicitly setting the object’s reference to null.E
Ensuring there are no references to the object.F
Only the garbage collection system can destroy an object.
考题
单选题You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. For some reason, now the company wants to view the number of users who access the SQL Server instance. The company CIO assigns this task to you. You have to use Windows System Monitor to find out the concrete number. Which performance object should you capture?()A
SQLServer:Buffer Manager B
SQLServer:Access Methods C
SQLServer:General Statistics D
SQLServer:Exec Statistics
考题
多选题Which statements about static inner classes are true?()AA static inner class requires a static initializer.BA static inner class requires an instance of the enclosing class.CA static inner class has no reference to an instance of the enclosing class.DA static inner class has access to the non-static members of the outer class.EStatic members of a static inner class can be referenced using the class name of the static inner class.
考题
单选题An object is()A
what classes are instantiated from.B
an instance of a class.C
a blueprint for creating concrete realization of abstractions.D
a reference to an attribute.E
a variable.
考题
多选题Given that Thing is a class, how many objects and reference variables are created by the following code?() Thing item, stuff; item = new Thing(); Thing entity = new Thing();AOne object is createdBTwo objects are createdCThree objects are createdDOne reference variable is createdETwo reference variables are createdFThree reference variables are created.
考题
单选题Which thefollowingstatements about static inner classes is true?()A
An anonymous class can be declared as static.B
A static inner class cannot be a static member of the outer class.C
A static inner class does not require an instance of the enclosing class.D
Instance member of a static inner class can be referenced using the class name of the staticinner class.
考题
单选题After creating a WebSphere Commerce instance, an administrator attempts to log on to the WebSphere Commerce Administration Console. The browser reports a "500 Internal Server Error". What could cause this to occur?()A
The web server was not startedB
The Payments Engine was not startedC
The WebSphere Commerce Payments instance was not startedD
The WebSphere Commerce application server was not startedE
The Configuration Manager service was not started
热门标签
最新试卷