---
# System prepended metadata

title: Java OOP
tags: [OOP, Java]

---

# Java OOP
###### tags: `Java` `OOP`
## Object-oriented programming (OOP):
* 抽象 Abstraction 
* 封裝 Encapsulation 
* 多型 Polymorphism 
* 繼承 Inheritance
## *封裝 Encapsulation*
* public、protected、no modifier、private
* getter & setter
* constructor
    * ==Overloaded constructor==

## *繼承 Inheritance*
* extent
* this
* ==Override==
* super
## *抽象 Abstraction*

## *多型 Polymorphism*