반응형
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 | 31 |
Tags
- BAEKJOON
- 자문형
- algoritms
- RPA
- 일임형
- pyhton
- 모던자바스크립트
- 혁신금융서비스
- JavaScript
- 신한투자증권
- programmers
- 알고리즘
- 스택
- dfs
- 프로그래머스
- 자바스크립트
- frontend
- 자료구조
- 로보어드바이저
- SSAFY
- Python
- JS
- 백준
- algorithms
- Ai
- Algorithm
- 파이썬
- BFS
- 큐
- React #Web #프런트엔드
Archives
- Today
- Total
목록자바 (1)
Step by Step
클래스와 객체, 다형성(2일차)
클래스와 객체 package day02; import java.lang.reflect.Method; public class EX01 { public static void main(String[] args) { Animal dog = new Animal("강아지","멍멍"); Animal cow = new Animal("송아지","음메"); System.out.println(dog.name); dog.cry(); cow.cry(); } } // 동물 클래스, 이름(String), 울음소리(method) class Animal{ String name; String sound; Animal() { } Animal(String name){ this.name = name; } Animal(String name, ..
Java
2024. 4. 4. 20:17