Serialization example code in java
Reading and Writing Java Object to a file in java //Serialization 직렬화 - Object 자체를 file 에 저장하고 싶을 때 사용. 이 클래스를 상속하는 하위클래스들도 직렬화가 가능해진다. public class PhoneInfo implements Serializable { ... } public class PhoneManager { private final File dataFile = new File("PhoneBook.txt"); //create file ... public void storeFile(){ FileOutputStream file = null; try { file = new FileOutputStream(dataFile); try ..
JAVA
2019. 7. 17. 07:04
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 프로그래머스 알고리즘
- string class in java
- HackerRank Algorithm
- C++
- spring boot application
- java
- Object type casting
- substring()
- 프로그래머스 알고리즘문제
- equals()
- easy javascript algorithm
- easy algorithm
- ... in Javascript
- hackerrank javascript solution
- hackerrank
- javascript
- rest parameter
- algorithm
- hackerrank solution
- math.abs
- HashMap
- repeat()
- 알고리즘
- Javascript Algorithm
- Collection Framework
- math.max
- compareTo()
- code refactoring
- hackerrank javascript
- 프로그래머스
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함