Exam 4: Introduction to Classes,Objects,Methods and Strings
Exam 1: Introduction to Computers, the Internet and Visual C#49 Questions
Exam 2: Dive Into Visual Studio Community25 Questions
Exam 3: Introduction to C# Apps41 Questions
Exam 4: Introduction to Classes,Objects,Methods and Strings50 Questions
Exam 5: Control Statements: Part 194 Questions
Exam 6: Control Statements: Part 266 Questions
Exam 7: Methods: a Deeper Look95 Questions
Exam 8: Arrays;Introduction to Exception Handling90 Questions
Exam 9: Introduction to Linq and Generic Collections27 Questions
Exam 10: Classes and Objects: A Deeper Look79 Questions
Exam 11: Object-Oriented Programming: Inheritance51 Questions
Exam 12: Object-Oriented Programming: Polymorphism62 Questions
Exam 13: Exception Handling: A Deeper Look58 Questions
Exam 14: GUI With Windows Forms: Part 164 Questions
Exam 15: GUI With Windows Forms: Part 273 Questions
Exam 16: Strings,Characters and Regular Expressions92 Questions
Exam 17: Files and Streams39 Questions
Exam 18: Searching and Sorting19 Questions
Exam 19: Data Structures28 Questions
Exam 20: Generics22 Questions
Exam 21: Collections35 Questions
Exam 22: Databases and LING25 Questions
Exam 23: Asynchronous Programming With Async and Await37 Questions
Exam 24: XML72 Questions
Exam 25: GUI With Windows Presentation Foundation60 Questions
Select questions type
By convention,a property's identifier is the lowercase identifier of the instance variable that it manipulates-name is the property that represents instance variable Name.
(True/False)
4.8/5
(37)
The benefits of data integrity are automatic when instance variables are made private.
(True/False)
4.9/5
(26)
Which of the following statements about the C format specifier is false.
(Multiple Choice)
4.8/5
(29)
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.
(True/False)
4.9/5
(37)
The code
myAccount.SetName(theName);
calls myAccounts's SetName method,passing theName's value as SetName's argument.
(True/False)
4.7/5
(37)
Consider the code (in class Account):
Public string GetName()
{
Return name;
}
Which of the following statements is false
(Multiple Choice)
4.9/5
(28)
If the following is a constructor
Public Account(string accountName)
{
Name = accountName;
}
Then what's the name of the class
(Multiple Choice)
4.8/5
(38)
The following code:
Account account1 = new Account("Jane Green");
passes the string argument "Jane Green" to the Account object's Account method.
(True/False)
4.8/5
(37)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)