Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I would like to double check my answer, if you are in the programming C# OOP I w

ID: 642451 • Letter: I

Question

I would like to double check my answer, if you are in the programming C# OOP I will really appreciate that:

True of False:

A class is an instance of an object? False

A class named Library will have a constructor named Library? True

A Standard naming convention in C# for properties is to use the same name as the instance variable or field, except begin the identifier using an uppercase character? True

Since the data members of the class are defined as private, their public property counterpart must be used to assign new value to the data members? False

The default constructor normally has an empty body? True

Constructors differ from other methods in that constructors:

Are not defined by the programmer

Always return a value

Are defined outside of the class

d.Use the same identifier as the class

A class is normally associated with a(n) _______, which often describes a person, place , or thing and is normally a noun.

Method member

Behavior

Data member

d.Entity

A property resemble a(n) ______, but is more closely aligned to a(n)_________

Date field, method

b.Method, data field

Object, mutator

Mutator, accessor

To program an object-oriented solution begin by determining what _______ are needed in the solution

Data

b.Objects

Processes

Methods

Normally data members are defined to have _______ access

a.Public

Private

Protected

Internal

In order to test a class, ___ ____

A different class is needed

b.Invoke instance methods using the objects you contruct

Use the properties to assign and retrieve values

All of the above

Accessors, mutators, and other instance methods are normally defined with what type of access modifier? D

Private

Protected

Internal

Public

If iron is an object, the statement Console.Write(iron); automatically invokes the ________ method

Ans. Overloaded

By abstracting out the attributes (data) and the behaviors(processes on the data), you can create a(n) __________to serve as template from which many objects of that type can be instantiated.

Ans. ????

Explanation / Answer

1. A class is an instance of an object? - False

Because, an object is an instance of a class

2. A class named Library will have a constructor named Library. - True

The constructor of any class has same name as that of the class followed by () paranthesis

3. A Standard naming convention in C# for properties is to use the same name as the instance variable or field, except begin the identifier using an uppercase character - True

4. Since the data members of the class are defined as private, their public property counterpart must be used to assign new value to the data members - True

5. The default constructor normally has an empty body- False

As the default constructor normanlly has no parameters...

6.

Constructors differ from other methods in that constructors:

Are not defined by the programmer - False

Always return a value - False

Are defined outside of the class- False

d.Use the same identifier as the class- True

7. A class is normally associated with a(n) Entity, which often describes a person, place , or thing and is normally a noun.

8. A property resemble a(n) Object, but is more closely aligned to a(n) mutator

9. To program an object-oriented solution begin by determining what Methods are needed in the solution

10. Normally data members are defined to have Public access.

11. In order to test a class, Invoke instance methods using the objects you contruct..

12. Accessors, mutators, and other instance methods are normally defined with what type of access modifier- Public.

13. By abstracting out the attributes (data) and the behaviors(processes on the data), you can create a(n) ______Class____to serve as template from which many objects of that type can be instantiated.