반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- tech interview
- React props
- AtomEditor
- 맥북 유용한 앱
- jsx 문법
- 맥북 사용법
- Node.js Express
- 맥북 필수 앱
- 자바 영어면접
- React
- node.js
- mysql
- 알고리즘
- react jsx
- 자바 인터뷰
- react state
- 맥북 초보
- Java tech interview
- 자바 기술면접
- 리액트
- 아톰에디터
- Express middleware
- 백준
- 백준 알고리즘
- 기술면접
- 자바 개발자
- 맥북 팁
- 생활코딩
- 백준 단계별로 풀어보기
- 자바 면접
Archives
- Today
- Total
song.log
[자바 기술면접] 07. 메서드란? 본문
728x90
반응형
- 정의
메서드(Method)는 자바에서 특정 작업을 수행하는 명령문의 집합입니다. 복잡한 작업을 보다 작고 관리하기 쉬운 하위 작업으로 나누는 데 사용됩니다. 메서드는 클래스 내에서 정의되며 해당 클래스의 객체에서 호출될 수 있습니다. 메서드는 접근제어자, 메서드 이름, 매개변수 목록, 매서드 내용으로 정의됩니다.
- 영어 정리 :
Method is a collection of statements that perform a specific task. It is used to break down a complex task into smaller, more manageable sub-tasks. Methods are defined within a class and can be called by objects of that class.
Methods are defined within a class and can be called by objects of that class. Method definition has five parts. They are access modifier, return type, method name, parameter list and the body of the method.
728x90
반응형
'StudyLog > Java interview' 카테고리의 다른 글
[자바 기술면접] 09. 파라미터 vs 인자 (0) | 2023.04.28 |
---|---|
[자바 기술면접] 08. 값에 의한 호출 vs 참조에 의한 호출 (0) | 2023.04.28 |
[자바 기술면접] 06. 생성자란? (0) | 2023.04.28 |
[자바 기술면접] 05. 클래스란? (0) | 2023.04.28 |
[자바 기술면접] 04. 할당과 초기화의 차이? (0) | 2023.04.28 |