Backend/JAVA2 멘토시리즈

JAVA Eclipse 19 객체지향 언어

Ayel 2023. 4. 10. 08:08

 

 

객체지향 언어

 

: JAVA 는 객체 지향 언어이다

 

 

객체지향 언어

현실에 존재하는 사물과 개념들을 소프트웨어적으로 구현하고 

그 구현된 객체들이 상호작용하여 데이터를 처리하는 방식

 

객체 : 독립적으로 존재할 수 있는 것

객체를 지향한다 : 코드를 객체화하여 독립적으로 존재할 수 있도록 한다

 

vs  절차지향 언어

명령을 순서대로 처리하는 방식

 

 

객체지향 언어의 특징

 

 

추상화

공통적인 특징들을 모아놓은 것

 

상속

부모의 것을 자식이 받아오는 것

 

캡슐화

사용하는 사람은 기능만 알면 된다

 

다형성

같은 모양을 가지고 있으나 다른 의미를 갖고 있는 것

1) 메서드 오버로딩(Overloading) : 함수의 중복 정의

2) 메서드 오버라이딩 (Overriding) : 함수의 재정의

 

 

객체지향 언어의 목적

 

: 코드의 재사용

 

 


 

 

JAVA Eclipse 01 프로그램, 프로그래밍, 기계어, JAVA
https://developernew.tistory.com/63

JAVA Eclipse 02 자바 출력메서드와 입력메서드
https://developernew.tistory.com/71

JAVA Eclipse 03 변수, 자료형, 형변환, 변수의 상수화
https://developernew.tistory.com/74

JAVA Eclipse 04 연산자 정의, 연산자 종류, 연산자 우선순위
https://developernew.tistory.com/78

JAVA Eclipse 05 논리연산자, 비트연산자
https://developernew.tistory.com/80

JAVA Eclipse 06 기타연산자 - 삼항연산자, 대입연산자, 복합대입연산자, instanceof
https://developernew.tistory.com/84

JAVA Eclipse 07 제어문 : 조건문
https://developernew.tistory.com/88

JAVA Eclipse 08 제어문 : 조건문 switch + Random 클래스
https://developernew.tistory.com/93

JAVA Eclipse 09 제어문 : 반복문 for
https://developernew.tistory.com/102

JAVA Eclipse 10 제어문 : 반복문 while, do-while
https://developernew.tistory.com/103

JAVA Eclipse 11 제어문 : 반복문의 break, continue
https://developernew.tistory.com/106

JAVA Eclipse 12 배열 : 배열의 개념 및 사용
https://developernew.tistory.com/107

JAVA Eclipse 13 배열 : 예제풀이, 로또번호 생성기
https://developernew.tistory.com/115

JAVA Eclipse 14 배열 : 다차원배열
https://developernew.tistory.com/117

JAVA Eclipse 15 배열의 복제, for ~ each문
https://developernew.tistory.com/120

JAVA Eclipse 16 카페 주문 시스템(키오스크) 배열과 제어문(반복문, 조건문)으로 풀기
https://developernew.tistory.com/124

JAVA Eclipse 17 method 메서드(메소드)
https://developernew.tistory.com/126

JAVA Eclipse 18 메서드(메소드) 오버로딩
https://developernew.tistory.com/133