The following slides discuss the abstraction and encapsulation.

Slide 14.1: Abstraction
Slide 14.2: Abstraction (cont.): An example — AbstractDemo.java
Slide 14.3: Abstraction (cont.): An example (cont.)
Slide 14.4: Encapsulation
Slide 14.5: Encapsulation (cont.): Get and set
Slide 14.6: Encapsulation (cont.): An example
Slide 14.7: Interfaces
Slide 14.8: Interfaces (cont.): An example — InterfaceDemo.java
Slide 14.9: Packages — MyCars.java
Slide 14.10: Packages (cont.) — MyPackageClass.java

  ☂ Coding Review

Slide 14.a: An interface example — GFG.java





      “Just say NO to drugs;”    
      “Well, if I’m talking to my drugs...    
      I probably already said yes.”