C#
- Get link
- X
- Other Apps
QUESTION 1
"A-PIE" (Pillars of OOP)
ANSWER:
Abstraction, Polymorphism, Inheritance, Encapsulation
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
QUESTION 2
Abstraction
ANSWER:
is the process by which a developer hides everything other than the relevant data about an object in order to simplify and increase efficiency.
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
QUESTION 3
Polymorphism
ANSWER:
is when each class implements the same methods in varying ways, but you can still have several classes that can be utilized interchangeably.
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
QUESTION 4
Inheritance
ANSWER:
is the ability to receive ("inherit") methods and properties from an existing class. ex. Shape to Circle
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
QUESTION 5
Encapsulation
ANSWER:
is when a group of related methods, properties, and other members are treated as a single object.
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
QUESTION 6
What is an Object?
ANSWER:
Objects are instances of classes. In other words, an instance of a class is an object defined by that particular class.
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
QUESTION 7
Light version of Classes in C# are called what??
ANSWER:
Structures! (beneficial when you want to create a large array objects but don't want to overwhelm your available memory.
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
QUESTION 8
Data Abstraction
ANSWER:
Provides essential features without describing any background details. (Hide unnecessary details) Focuses on what an object does, not how it does it.
- Get link
- X
- Other Apps
Comments
Post a Comment