You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,22 @@
1
1
# OOP-week-1-to-8-code
2
2
3
-
Point class : point object with parameterized , null and copy constructor
3
+
Point class : point object with parameterized , null and copy constructor <br />
4
4
5
5
Relationships : Association , Aggregation , Composittion and inheritance code <br />
6
6
7
-
Q10 : Shopping Mall Elevator and button UML
7
+
Q10 : Shopping Mall Elevator and button UML <br />
8
8
9
-
Week 1 : basic Structs and enums syntax
10
-
9
+
Week 1 : basic Structs and enums syntax <br />
11
10
12
11
Week 2 : <br />
13
12
Bar , Foo file : basic control flow logic from quiz week 1 or 2 <br />
14
-
Date : simple date class
13
+
Date : simple date class <br />
15
14
16
15
Week 3 :<br />
17
16
m file ( important ) : polymorphism method calling logic ( try calling Class A,B ,C objects or create a object with another object reference and see which methods are called ) <br />
18
-
m2 file : '+' operator overloading of complex class
17
+
m2 file : '+' operator overloading of complex class <br />
19
18
20
-
Week 4 :
19
+
Week 4 : <br />
21
20
These questions are from OOP quiz week 3-4 <br />
22
21
Q4 file ( important ) : polymorphism method calling logic and dynamic polymorphism<br />
23
22
Q6 : see how to use friend function and operator overloading<br />
@@ -32,7 +31,7 @@ Fib3 : memorization , use hashmap to calculate a big fibonachi sequence <br />
32
31
Fib4 : iterative approach : use a for loop to calculate fibonachi sequence <br />
33
32
34
33
Week 7: <br />
35
-
Fibbonachi code in the Class/object form
34
+
Fibbonachi code in the Class/object form <br />
36
35
37
36
Week 7 Tasks from quiz ( imp) : <br />
38
37
Inheritance and composition: <br />
@@ -47,6 +46,7 @@ Q2-) Understand how pointers work <br />
47
46
Q3 and Q3b ) Thing class : See how the objects are created and destroyed when they go out of scope <br />
48
47
Q4a and Q4b) Lamp class : learn how to use 2 states of lamp ON/OFF using enum . <br />
49
48
Q8) See the order of constructor and destructor in a for loop <br />
49
+
DestructorOrder file : Observe how constructors and destructors are inherited and observe there lifecycle. check the destructor with and without Virtual keyword
0 commit comments