Services
Discover
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Visual C# How to Program
Exam 4: Introduction to Classes,Objects,Methods and Strings
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
True/False
A method SetName might declare a parameter accountName to receive a new name to store in an Account object-a set accessor uses the implicitly declared keyword parameter for the same purpose.
Question 22
Multiple Choice
Keyword get is a ________ keyword,because it's a keyword only in a property's body-elsewhere,get can be used as an identifier.
Question 23
True/False
The property notation allows the client to directly manipulate the private instance variable.
Question 24
Multiple Choice
Which of the following statements is false
Question 25
True/False
Local variables are initialized to their default values.
Question 26
Multiple Choice
Most instance variables are declared ________.
Question 27
Multiple Choice
Consider the code: MyAccount.SetName(theName) ; Which of the following statements is false
Question 28
Multiple Choice
Which of the following statements is false
Question 29
True/False
C# is case sensitive,so Name and name are distinct identifiers.
Question 30
Multiple Choice
Which of the following statements is false
Question 31
True/False
We could use a fully implemented Balance property to ensure that the set accessor's argument is valid before assigning it to the balance instance variable.
Question 32
True/False
Making a class's instance variables public and its methods private and accessing those instance variables only through the class's methods and properties facilitates debugging,because problems with data manipulations are localized to the methods (and properties).
Question 33
True/False
The Windows culture settings on the user's machine determine the format for displaying currency amounts,such as the commas vs.periods for separating thousands,millions,etc.
Question 34
Multiple Choice
Which of the following statements is false
Question 35
Multiple Choice
Which of the following statements is false
Question 36
True/False
A method such as Main "drives" an object by calling its methods-without having to know how the class's internal mechanisms work.In this sense,the class containing method Main is referred to as a driver class.