일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- lang package
- 형변환 연산자
- bubble-sort
- try&catch
- 백준
- 공개키 암호
- 프로그래밍
- 객체지향
- 2884
- 자동 형변환
- OOP
- 디렉티브
- 소수판정
- 재귀호출기본
- 알고리즘
- 클래스 패스
- 현대암호
- LANG
- 연결된 예외
- 암호론
- 자료구조
- 백준 알고리즘
- JSP
- BufferedWrite
- 예외처리
- class
- java
- jvm
- 객체
- HTML
Archives
- Today
- Total
목록lang package (1)
코드일기장

hashCode() 메서드 해싱(hashing) 기법에 사용되는 해시함수를 구현한 것이다. 해싱은 데이터 관리법 중의 하나이다. 객체의 해쉬 코드를 반환하는 메서드이며, 반환된 데이터 타입은 int형이다. public class inheritance { public static void main(String[] args) { String str1="ABC"; String str2="ABC"; System.out.println(str1.equals(str2)); System.out.println(str1.hashCode()); System.out.println(str2.hashCode()); System.out.println(System.identityHashCode(str1)); System.out.pr..
Java
2022. 2. 4. 17:20