Flashcards
Untitled

Cards in this deck (12)
- 1What is Object Oriented Programmingprogramming paradigm created to deal with complexity of large software systems
- 2What is encapsulation?a form of data hiding. hiding pieces of information and hide it from the rest of the code base. The data can't be changed or manipulated without obvious intention.
- 3what is Polymorphism?the ability for data to be represented as many types. poly stand for many, morph for forms. many forms of data.

- 4what is inheritance?when a class inherits behavior/methods and attributes/state from the other class which is the superclass. The class inheriting is called the subclass.

- 5can you create an object from a module?no you can't.
- 6what is instantiation?the entire workflow of creating objects from classes is instantiation.
- 7when calling the method .new on a class what is returned?a new object is returned
- 8how can you think of classes?as a blueprint objects. They define how objects are made and what they can di.
- 9where we use instance variables for?to keep track about information about an object.
- 10what are state and behavior for?state track attributes for individual objects, behaviors are what objects are cable off doing.
- 11when does the initialize method get called?every time we create an instance of the class.
- 12—
Information
- Description
- Flashcards on Untitled, created by Mark Dames on 28/07/2017.
- Created by
- Mark Dames
- Views
- 0
- Rating