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
- database
- dynamic programming
- 자바
- implement
- Data Structure
- Matrix
- 구현
- two pointers
- Tree
- array
- sorting
- Binary Search
- java
- string
- simulation
- 파이썬
- Class
- Number Theory
- Binary Tree
- bit manipulation
- Stack
- SQL
- geometry
- Counting
- 코딩테스트
- Math
- hash table
- 코테
- Method
- greedy
Archives
- Today
- Total
목록wrapper (1)
코린이의 소소한 공부노트

[래퍼 클래스] - 기본형을 감싸는 클래스 - 기본형을 객체로 다뤄야 할 때 사용하는 클래스 public final class Integer extends Number implements Comparable{ // 클래스 안에 // ... private int value; // 기본형이 들어 있다. // ... } 1. Boolean 클래스 - 기본형: boolean - 생성자: Boolean(boolean value), Boolean(String s) Boolean b1 = new Boolean(true); Boolean b2 = new Boolean("true"); 2. Character 클래스 - 기본형: char - 생성자: Character(char value) Character c = new ..
Java
2022. 10. 11. 11:39