-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path12-02-18-class-notes
More file actions
70 lines (38 loc) · 1.01 KB
/
12-02-18-class-notes
File metadata and controls
70 lines (38 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
12-02-18 class notes
OOP:
Inheritance: a class can acquire properties from another class.
Parents—>Children. Single Inheritance
GrandParents—>Parents—>Children. Multilevel Inheritance
GrandParents—>Parents
GrandParents—>GreatGrandChildren Hierarchical Inheritance
Polymorphism: An object can take on many form.
There are two type of Polymorphism:
Method Overloading: Happen in compile time. Early binding. Static binding
Method Overriding : Happen in run time Late binding. Dynamic binding
Keywords:
Final:
Final in terms of variable
Final in terms of method
TODO: finally and finalize
Logical Operator/Conditional/Comparing operator :
< > =. >=. <=. ==. !=
|| &&
Truth Table:
Java API: https://docs.oracle.com/javase/7/docs/api/
System.in
System.out
Scanner
Random
BufferedReader
FileReader
Exception
String
Math
Coming Next….
Loop:
Exception Handling
Array
DataStructure
Algorithm Design
Unit Testing: jUnit/testNG
Intellij