Chapter 4
Strings. Files. ArrayList
Objectives:
After completing the chapter, you can:
- get information from API about classes:
String
,StringBuilder
,File
,Scanner
,PrintWriter
,ArrayList
andHashMap
. - read data from a file and write data into a file;
- name the main differences between arrays and lists.
Topics
- 4.1 Methods of class String
- 4.2 Methods of class StringBuilder
- 4.3 Wrapper class
- 4.4 Files
- 4.5 ArrayList
- 4.6 HashMap
- 4.7 Tasks
NB! Watch the video in youtube if you need the subtitles!
Alternative materials
- in English: Chapter 6.1-6.3, 10.1
- in Estonian: here