If Else, Switch, While Loop, For Loop, Break/Continue
Name two advantages that OOP has over procedural programming.
OOP…
is faster to execute
provides clear structure for programs
makes C# code easy to maintain, modify, and debug
makes it easy to reuse code/applications w/ less code & less development time
Briefly explain the overall difference b/w procedural programming & object-oriented programming.
Procedural Programming
Writing procedures or methods that perform operations on data
OOP
Creating objects that contain methods & data
Define “Class” & “Object” in a simple manner.
Class —> template for objects
Object —> instance of a class
When an object is created, it __________ all of the _______ & ________ of its class.
When an object is created, it inherits all of the variables & methods of its class.
T or F: Everything in C# is associated w/ classes & objects, along with its attributes & methods.
True
How do you create a class?
Using the keyword ‘class’
When a variable is declared directly in a class (