Institute of Computer Science
  1. Courses
  2. 2018/19 spring
  3. Object-Oriented Programming (Narva College) (LTAT.NR.003)
ET
Log in

Object-Oriented Programming (Narva College) 2018/19 spring

  • Home
  • Materials
  • Java Glossary
  • Source Example
  • Cheat sheet (S1-S6)
  • Grading
  • Links

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 and HashMap.
  • 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

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment