Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key


Play button


Play button




Click to flip

14 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)
What is Serialization?
Serialization in .NET allows the programmer to take an instance of an object and convert it into a format that is easily transmittable over the network, or even stored in a database or file system.
What is Abstraction?
The process of hiding the details and exposing only the essential features of a particular object or procedure.
What is Encapsulation?
The ability of an object to hide its data & functionality (methods) from the rest of the world
What is Polymorphism?
Allowing a single definition to be used with different types of data (specifically, different classes of objects).
How do you convert a value-type to a reference-type?
Use Boxing.
How do you Inherit from a Class in C#?
Place a colon and then the name of the base class. Notice that it's double colon in C++.
What happens in memory when you Box and Unbox a value-type?
Boxing converts a value-type to a reference-type, thus storing the object on the heap.

UnBoxing converts a reference-type to a value-type, thus storing the value on the stack.
Explain Inheritance.
The ability to define a more specialized data type in terms of a less specialized type.
What is Singleton?
A class which is not meant to be freely instantiated, but have only one instance.
Does C# support multiple Inheritance?
No, use interfaces instead.
Name and define the three most important features an object oriented language must provide.
Encapsulation: the ability to conceal the internals of data and functionality from client programmers.
Inheritance: The ability to define a more specialized data type in terms of a less specialized type.
Polymorphism: the ability to re-use names of methods/functions and have the language or run-time figure out the correct method to use in a given circumstance.
What's the implicit name of the parameter that gets passed into the class' set method?
Value, and its datatype depends on whatever variable we're changing.
What is Boxing and Unboxing?
Boxing converts a value-type to a reference-type (object), and stores the object on the heap.
What are Static Members?
Static Members are similar to global functions & variables, but have the advantage of Encapsulation.
Static members belong to the class itself.
Are linked to the lifetime of the applications.