Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

CSharp C#

Question or StatementAnswer - MixedExtra Notes
You can overload an operator for a built-in data type. False You cannot overload an operator for a built-in data type. For example, you cannot change the meaning of + between two ints. - - Microsoft Visual C# 2012 Intro to OOP 5e
A method can return, at most, one value to a method that calls it. True A method can return, at most, one value to a method that calls it. - Microsoft Visual C# 2012 Intro to OOP 5e
If you don’t write a constructor for a class object, C# writes one for you. True If you don’t write a constructor for a class object, C# writes one for you. - Microsoft Visual C# 2012 Intro to OOP 5e
Unlike simple parameters, you cannot use out or ref when passing an array to a method. False As with simple parameters, you use out or ref when passing an array to a method. You will declare the array in the calling method, but use the new operator to allocate memory for it in the called method. - Microsoft Visual C# 2012 Intro to OOP 5e
An implicit, or invisible, reference is passed to every instance method and property accessor. The implicitly passed reference is the ____ reference. this The difference lies in an implicit, or invisible, reference that is passed to every instance method and property accessor. The implicitly passed reference is the this reference. - Microsoft Visual C# 2012 Intro to OOP 5e
____ involves using one term to indicate diverse meanings. Overloading Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
A class client is also known as a class ____. user A program or class that instantiates objects of another prewritten class is a class client or class user. - Microsoft Visual C# 2012 Intro to OOP 5e
Only ____ parameters can be given default values. value Only value parameters can be given default values; ref, out, and array parameters cannot have default values. Any optional parameters in a parameter list must appear to the right of the mandatory parameters.- Microsoft Visual C# 2012 Intro to OOP 5e
When you don’t know how many arguments you might eventually send to a method, you can declare a(n) ____. parameter array A parameter array is a local array declared within the method header using the keyword params. Such a method accepts any number of arguments that are all the same type. - Microsoft Visual C# 2012 Intro to OOP 5e - paraphrased
____ describe(s) a situation in which the compiler cannot determine which method to use. Ambiguous method When you overload a method, you run the risk of creating ambiguous methods—a situation in which the compiler cannot determine which method to use. - Microsoft Visual C# 2012 Intro to OOP 5e
A(n) ____ constructor is one that takes no arguments. parameterless In other words, it is a default constructor. - Microsoft Visual C# 2012 Intro to OOP 5e
Programmers say that a value parameter is used for “____” parameter passing. in Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
Betterness rules are similar to ____ conversion rules. implicit data type Implicit conversion is the conversion that occurs when a type is automatically changed to another upon assignment. See Data Type Conversions Are Better in This Order - Microsoft Visual C# 2012 Intro to OOP 5e
Object attributes often are called ____ to help distinguish them from other variables you might use. fields The data components of a class that differ for each object are stored in instance variables. Instance variables also are called fields to help distinguish them from other variables you might use. - Microsoft Visual C# 2012 Intro to OOP 5e
A(n) ____ parameter is one that is undeclared and that gets its value automatically. implicit Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
On occasion, you might want a method to be able to alter a value you pass to it. In that case, you can use a(n) ____ parameter or an output parameter. reference Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
When you use a(n) ____ parameter, any passed variable must have an assigned value. reference Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
The data components of a class that differ for each object are stored in ____. instance variables Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
The ____ class access modifier means that access to the class is not limited. public Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
The classes that support simple data items each contain a method named ____, which provides the details of how the basic data types compare to each other. CompareTo() CompareTo() is a method that compares objects; it is overridden in many classes, including String, and in the IComparable interface.- Microsoft Visual C# 2012 Intro to OOP 5e
You name an argument using its parameter name and a ____ before the value. colon Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
The ____ class access modifier means that access is limited to another class to which the class belongs. private Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
The set of contents of an object’s instance variables also are known as its ____. state An object’s state is the set of contents of its fields.- Microsoft Visual C# 2012 Intro to OOP 5e
A(n) ____ is a collection of abstract methods (and perhaps other members) that can be used by any class, as long as the class provides a definition to override the interface’s do-nothing, or abstract, method definitions. interface Exact Definition from Microsoft Visual C# 2012 Intro to OOP 5e
Created when a function is created. A variable within the function would only need to be created one time. Calling the function numerously, from within itself (like Recursion) doesn't require recreation of the variables. Constructors
Called when a function closes and releases the memory being held by a Constructor. Destructors
Both reference and output parameters occupy their own memory locations. False Reference parameters, output parameters, and parameter arrays do not occupy their own memory locations. - Microsoft Visual C# 2012 Intro to OOP 5e
Created by: chaseswafford27
Popular Languages sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards