본문 바로가기

함수4

[JavaScript] 함수의 유효범위 복습 https://shins99.tistory.com/55 [JavaScript] 변수의 유효 범위 복습 https://shins99.tistory.com/54 [JavaScript] 함수 복습 https://shins99.tistory.com/53 [JavaScript] 유용한 자바스크립트 내장 함수들 복습 https://shins99.tistory.com/52 [JavaScript] 객체 (Object) 복습 https://shins99.tistory.com shins99.tistory.com 함수의 유효 범위(function scope) - 대부분의 프로그래밍 언어에서는 블록 내에서 정의된 변수를 블록 외부에서는 접근 불가 - 블록(block)이란 코드 내에서 중괄호({})로 둘러싸인 부분 (이러.. 2023. 8. 26.
[JavaScript] 함수 복습 https://shins99.tistory.com/53 [JavaScript] 유용한 자바스크립트 내장 함수들 복습 https://shins99.tistory.com/52 [JavaScript] 객체 (Object) 복습 https://shins99.tistory.com/51 [JavaScript] 배열 (Arrays) 복습 https://shins99.tistory.com/50 [JavaScript] 제어문 (if, switch, for, while, do~while) 복습 https://shins99.tis shins99.tistory.com 함수(function)란? - 함수(function)란 하나의 특별한 목적의 작업을 수행하도록 설계된 독립적인 블록을 의미 - 함수는 필요할 때마다 호출하.. 2023. 8. 23.
[자바 기초] 객체와 객체 간 상호작용 복습 https://shins99.tistory.com/16 [자바 기초] 생성자 복습 https://shins99.tistory.com/12 [자바 기초] 함수와 메서드 복습 https://shins99.tistory.com/11 [자바 기초] 객체 지향 언어란? 복습 https://shins99.tistory.com/9 [자바 기초] 참조 자료형 - Scanner, Random 복습 https:// shins99.tistory.com 💡 학습 목표 1. 객체와 객체간에 상호작용이란? 2. 버스, 학생 클래스 설계하기 3. 매개변수에 참조 타입을 사용하는 의미 4. 메모리 구조도 생각해 보자. 버스 기능 만들어보기 public class Bus { // ** 속성 ** int busNumber; // .. 2023. 7. 31.
[자바 기초] 함수와 메서드 복습 https://shins99.tistory.com/11 [자바 기초] 객체 지향 언어란? 복습 https://shins99.tistory.com/9 [자바 기초] 참조 자료형 - Scanner, Random 복습 https://shins99.tistory.com/8 [자바 기초] for, while 복습 https://shins99.tistory.com/7 [자바 기초] if 문 복습 https://shins99.tistory.com/6 💡 shins99.tistory.com 함수와 메서드 💡 학습 목표 1. 함수에 대해 이해하자 . 2. 메서드에 대해 이해하자. 함수 (Function) ​ ● 하나의 기능을 수행하는 일련의 코드 ● 구현된(정의된) 함수는 호출하여 사용하고 호출된 함수는 기능이 끝.. 2023. 7. 28.