Before session 4
Strings. Files. ArrayList
Objectives:
After completing the session, a student can:
- gets information from API about classes:
String
,StringBuilder
,File
,Scanner
,PrintWriter
,ArrayList
andHashMap
. - reads data from a file and writes data into a file;
- names 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