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
- 프로그래머스 알고리즘
- 프로그래머스 알고리즘문제
- ... in Javascript
- algorithm
- hackerrank javascript solution
- Javascript Algorithm
- javascript
- repeat()
- HashMap
- java
- hackerrank solution
- equals()
- rest parameter
- C++
- Object type casting
- 프로그래머스
- code refactoring
- string class in java
- math.abs
- spring boot application
- easy algorithm
- math.max
- hackerrank javascript
- compareTo()
- Collection Framework
- substring()
- easy javascript algorithm
- HackerRank Algorithm
- hackerrank
- 알고리즘
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함