• 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
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/9

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

9 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)

Object

A repository of data

Shopping list

Class

Type of object

Group shopping lists

Method

Procedure or function that operates on an object

Def

Inheritance

Class can inherit a property/methods from another class. Shopping list is a class that inherit all properties of list class. Example storing things.

Polymorphism

Having a method that can work on one or more classes of objects. Even if classes need different implementation of method.

What is object oriented?

1. Each object knowa its own class


2. Each object knows what method applies on that object.

What does varianle initiation do?

Allocate chunk of memory depending on type. And gives it a name.

What is constructor

New object() is constructor its job is to create new object

What does the line represent?



string myString;


myString = new string();

1. Create a variable in memory named myString.


2. Stores a refrence to a new string object location in myString. (myString contains an address that Points to the string object).


3. In a nutshell, it makes myString a pointer.