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
- Stack
- greedy
- Method
- sorting
- simulation
- hash table
- string
- Counting
- two pointers
- array
- Class
- database
- 구현
- Data Structure
- dynamic programming
- bit manipulation
- 파이썬
- java
- SQL
- implement
- 코딩테스트
- Math
- geometry
- Binary Tree
- 코테
- Matrix
- Binary Search
- Number Theory
- Tree
- 자바
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