Fill in the blanks in each of the following statements: a) The public members of a class

Question:

Fill in the blanks in each of the following statements:

a) The public members of a class are also known as the class’s ________or ________.

b) If a method contains a local variable with the same name as one of its class’s fields, the local variable ________the field in that method’s scope.

c) The ________is called by the garbage collector before it reclaims an object’s memory.

d) If a class declares constructors, the compiler will not create a(n) ________.

e) An object’s ________method can be called implicitly when an object appears in code where a string is needed.

f) Composition is sometimes referred to as a(n) ________relationship.

g) A(n) ________variable represents class wide information that’s shared by all the objects of the class.

h) The ________states that code should be granted only the amount of access needed to accomplish its designated task.

i) Declaring an instance variable with keyword ________specifies that the variable is not modifiable.

j) The ________operator returns the string representation of an identifier’s name.

k) ________enables you to define how built-in operators work with objects of your own types.

l) ________enable you to add new capabilities to existing types.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Visual C# How to Program

ISBN: 978-0134601540

6th edition

Authors: Paul J. Deitel, Harvey Deitel

Question Posted: