노태종 2021. 10. 5. 00:48

· 텍스트 파일<문자>       ex)  메모장, 한글, 엑셀

  -  입력( FileOutputStream  /  FileWriter)

  -  출력( FileReader  /  Scanner )

  -  복사

· 바이너리 파일<이진수>       ex)  웹툰, 유튜브

  -  복사

 

 

https://best-mint-34c.notion.site/09-15-1-06ec55786099421589f17372a9448f11

 

 

 

 

· Java의 4가지 요소 

  -  상속성(Inheritance) 

  -  다형성(Polymorphism) 

  -  추상화(Abstraction) 

  -  캡슐화(Encapsulation)

· 상속성(Inheritance)  -  접근 제한자

  -  private     <=     캡슐화(Encapsulation)

  -  package

  -  protected

  -  public

· 상속성(Inheritance)  -  꼭 기억해야 할 3가지

[1]  상속의 Keyword는 extends

[2]  부모 클래스의 생성자의 내부에 super 생성자를 별도로 규정하지 않으면,

        부모의 부모인 Object 클래스(최상위 클래스)의 기본 생성자인 [ super(); ]가 생략되어 있음

[3]  Java에선 '다중 상속'이 불가하다

        (Java does not support multiple inheritance)

 

 

https://best-mint-34c.notion.site/09-15-2-bb3ef0b2cb8743f0a1b725c9e4c53668